BatteryOptimizationHelperPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BatteryOptimizationHelperPlatform
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isBatteryOptimizationEnabled() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAutoStartSettings() Future<bool>
openBatteryOptimizationSettings() Future<void>
requestDisableBatteryOptimization() Future<void>
requestDisableBatteryOptimizationWithResult() Future<bool>
Attempts to request disabling battery optimization and completes after the user returns from the system dialog, reporting whether optimizations are now disabled (ignored) for the app.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance BatteryOptimizationHelperPlatform
getter/setter pair