updated project style guidelines
This commit is contained in:
@ -10,12 +10,8 @@ class GetMessagesCache extends RequestCache<GetMessagesResponse> {
|
||||
}
|
||||
|
||||
@override
|
||||
GetMessagesResponse onLocalData(String json) {
|
||||
return GetMessagesResponse.fromJson(jsonDecode(json));
|
||||
}
|
||||
GetMessagesResponse onLocalData(String json) => GetMessagesResponse.fromJson(jsonDecode(json));
|
||||
|
||||
@override
|
||||
Future<GetMessagesResponse> onLoad() {
|
||||
return GetMessages().run();
|
||||
}
|
||||
}
|
||||
Future<GetMessagesResponse> onLoad() => GetMessages().run();
|
||||
}
|
||||
|
Reference in New Issue
Block a user