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