diff --git a/mobile/lib/domain/services/store.service.dart b/mobile/lib/domain/services/store.service.dart index de79e9b71d..70b9f31c00 100644 --- a/mobile/lib/domain/services/store.service.dart +++ b/mobile/lib/domain/services/store.service.dart @@ -75,7 +75,7 @@ class StoreService { } /// Asynchronously stores the value in the DB and synchronously in the cache - Future put(StoreKey key, T value) async { + Future put, T>(U key, T value) async { if (_cache[key.id] == value) return; await _storeRepository.insert(key, value); _cache[key.id] = value;