setReviewCount static method
Implementation
static Future<void> setReviewCount(int count) async {
final dd = DateFormat("MMM-yyyy").format(DateTime.now());
log("CommonInterface:[setReviewCount]->date->$dd");
AndroidOptions getAndroidOptions() => const AndroidOptions(
encryptedSharedPreferences: true,
);
final storage = FlutterSecureStorage(aOptions: getAndroidOptions());
int count = await getReviewCount();
log("CommonInterface:[setReviewCount]->count->to->${count + 1}");
await storage.write(key: dd, value: (count + 1).toString());
}