streakEngine method
Loads the Streak Engine
Implementation
StreakEngine streakEngine() {
StreakEngine streakEngine = StreakEngine();
String? jsonString = _prefs.getString('streakEngine');
if (jsonString != null) {
streakEngine = jsonDecode(jsonString) as StreakEngine;
}
return streakEngine;
}