fromString static method
Get a LightColorGamutType from a given string value
.
Implementation
static LightColorGamutType fromString(String value) {
return values.firstWhere(
(gamutType) => gamutType.value == value,
orElse: () => other,
);
}