23 lines
592 B
Dart
23 lines
592 B
Dart
|
import 'package:shared_preferences/shared_preferences.dart';
|
||
|
|
||
|
Map<String, Object> mockSettings = {
|
||
|
"group": 3,
|
||
|
"HITT_time": 35,
|
||
|
"chess_time": {"hours": 8, "minutes": 30},
|
||
|
"relapse_categories": ["App stresst mich", "langeweile", "lunge braucht es"],
|
||
|
"mood_query": {
|
||
|
"days": ["Montag", "Donnerstag"],
|
||
|
"hours": 10,
|
||
|
"minutes": 30
|
||
|
},
|
||
|
"sleep_query": {
|
||
|
"days": ["Dienstag", "Samstag"],
|
||
|
"hours": 15,
|
||
|
"minutes": 42
|
||
|
},
|
||
|
"startedAt": DateTime.now().toIso8601String(),
|
||
|
};
|
||
|
|
||
|
void mockSharedPreferences() =>
|
||
|
SharedPreferences.setMockInitialValues(mockSettings);
|