@override Future<int?> getTime(String key) async { if (!isInitialized) await init(); return _prefs?.getInt(key); }