Clean up warnings

This commit is contained in:
unknown 2018-05-22 07:36:35 -07:00
parent ade297b354
commit 8232aed318
3 changed files with 6 additions and 2 deletions

View File

@ -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 {

View File

@ -17,7 +17,6 @@ class AppState {
dashboard = dashboard ?? new DashboardEntity(),
auth = auth ?? new AuthState();
factory AppState.loading() => AppState(isLoading: true);
/*

View File

@ -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 {