checkAutoStartState static method

Future<bool?> checkAutoStartState()

Check the autostart Permission State on the device Only applicable for MIUI devices Returns 'true' is AutoStart Permission is enabled, 'false' otherwise

Implementation

static Future<bool?> checkAutoStartState() async {
  return await _channel.invokeMethod("checkAutoStartPermissionState");
}