menu
js_bindings package
documentation
bindings/webgpu.dart
GPUPowerPreference
fromValue static method
fromValue static method
dark_mode
light_mode
fromValue
static method
GPUPowerPreference
fromValue
(
String
value
)
Implementation
static GPUPowerPreference fromValue(String value) => values.firstWhere((e) => e.value == value);
js_bindings package
documentation
bindings/webgpu
GPUPowerPreference
fromValue static method
GPUPowerPreference enum