menu
js_bindings package
documentation
bindings/webgpu.dart
GPUPowerPreference
fromValues static method
fromValues static method
dark_mode
light_mode
fromValues
static method
Iterable
<
GPUPowerPreference
>
fromValues
(
Iterable
<
String
>
values
)
Implementation
static Iterable<GPUPowerPreference> fromValues(Iterable<String> values) => values.map(fromValue);
js_bindings package
documentation
bindings/webgpu
GPUPowerPreference
fromValues static method
GPUPowerPreference enum