mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-09-28 00:54:34 +08:00
modfiy: 批量消除 dart analysis 的警告
This commit is contained in:
@ -5,7 +5,7 @@ import 'package:flutter_go/model/collection.dart';
|
||||
import 'package:flutter_go/model/version.dart';
|
||||
import 'package:flutter_go/model/widget.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:flutter_go/model/responseData.dart';
|
||||
/// import 'package:flutter_go/model/responseData.dart';
|
||||
|
||||
import './net_utils.dart';
|
||||
import '../model/user_info.dart';
|
||||
@ -117,6 +117,7 @@ class DataUtils {
|
||||
}
|
||||
} catch (error) {
|
||||
print('获取组件树 error $error');
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,6 +129,7 @@ class DataUtils {
|
||||
return response != null && response['hasCollected'];
|
||||
} catch (error) {
|
||||
print('校验收藏 error $error');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user