appLaunchCount static method
App launch count This method will return the app launch count.
Implementation
static Future<int?> appLaunchCount() async {
return await useMonitoringMethod(() async {
String? launchCount = await readValue("launch_count");
if (launchCount == null || launchCount.isEmpty) {
return null;
}
int count = int.parse(launchCount);
return count;
});
}