made app modules movable in their order
This commit is contained in:
@ -3,7 +3,6 @@ import 'dart:convert';
|
||||
import 'package:localstore/localstore.dart';
|
||||
|
||||
import 'apiResponse.dart';
|
||||
import 'webuntis/webuntisError.dart';
|
||||
|
||||
abstract class RequestCache<T extends ApiResponse?> {
|
||||
static const int cacheNothing = 0;
|
||||
@ -40,7 +39,7 @@ abstract class RequestCache<T extends ApiResponse?> {
|
||||
'json': jsonEncode(newValue),
|
||||
'lastupdate': DateTime.now().millisecondsSinceEpoch
|
||||
});
|
||||
} on WebuntisError catch(e) {
|
||||
} on Exception catch(e) {
|
||||
onError(e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user