Clean up warnings
This commit is contained in:
parent
ade297b354
commit
8232aed318
|
|
@ -21,12 +21,15 @@ class FileStorage {
|
|||
final contents = await file.readAsString();
|
||||
|
||||
print('LOADING PRODUCTS FROM FILE...');
|
||||
|
||||
/*
|
||||
return serializers
|
||||
.deserializeWith(AppState.serializer, json.decode(contents))
|
||||
.products
|
||||
.toList();
|
||||
*/
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Future<File> saveData(List<dynamic> products) async {
|
||||
|
|
@ -42,6 +45,8 @@ class FileStorage {
|
|||
),
|
||||
);
|
||||
*/
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Future<File> _getLocalFile() async {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ class AppState {
|
|||
dashboard = dashboard ?? new DashboardEntity(),
|
||||
auth = auth ?? new AuthState();
|
||||
|
||||
|
||||
factory AppState.loading() => AppState(isLoading: true);
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class UserLoginRequest {
|
|||
final String token;
|
||||
|
||||
//UserLoginRequest(this.email, this.password, this.url, this.secret);
|
||||
UserLoginRequest(this.url, this.token);
|
||||
UserLoginRequest(this.url, this.token, [this.email, this.password, this.secret]);
|
||||
}
|
||||
|
||||
class UserLoginSuccess {
|
||||
|
|
|
|||
Loading…
Reference in New Issue