Mark cache version to clear cache data

This commit is contained in:
dab246
2023-02-16 12:00:09 +07:00
committed by Dat Vu
parent 5dadd955ce
commit 66e4d6c5d2
7 changed files with 91 additions and 15 deletions
@@ -0,0 +1,9 @@
abstract class CacheVersionClient {
String get versionKey;
Future<bool> storeVersion(int newVersion);
Future<int?> getLatestVersion();
}