powerPreference property

MLPowerPreference get powerPreference

Implementation

MLPowerPreference get powerPreference =>
    MLPowerPreference.fromValue(js_util.getProperty(this, 'powerPreference'));
set powerPreference (MLPowerPreference newValue)

Implementation

set powerPreference(MLPowerPreference newValue) {
  js_util.setProperty(this, 'powerPreference', newValue.value);
}