MLPowerPreference enum
Values
- valueDefault → const MLPowerPreference
-
const MLPowerPreference('default')
- highPerformance → const MLPowerPreference
-
const MLPowerPreference('high-performance')
- lowPower → const MLPowerPreference
-
const MLPowerPreference('low-power')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
String value) → MLPowerPreference -
fromValues(
Iterable< String> values) → Iterable<MLPowerPreference>
Constants
-
values
→ const List<
MLPowerPreference> - A constant List of the values in this enum, in order of their declaration.