powerPreference property

GPUPowerPreference get powerPreference

Implementation

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

Implementation

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