powerPreference property

MLPowerPreference powerPreference

Implementation

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

Implementation

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