isIgnoringBatteryOptimizations property
Return whether the application is on the device's power allowlist.
Implementation
static Future<bool?> get isIgnoringBatteryOptimizations async =>
await _channel.invokeMethod<bool?>('isIgnoringBatteryOptimizations');