useMonitoringMethod static method

dynamic useMonitoringMethod(
  1. dynamic method()
)

Check if we can use this method

Implementation

static useMonitoringMethod(Function() method) async {
  Nylo.canMonitorAppUsage();
  return await method();
}