useMonitoringMethod<T> static method
Check if we can use this method.
Throws assertion error if app usage monitoring is disabled.
Implementation
static Future<T> useMonitoringMethod<T>(Future<T> Function() method) async {
Nylo.canMonitorAppUsage();
return await method();
}