Get a LightMode from a given string value.
value
static LightMode fromString(String value) { return values.firstWhere( (mode) => mode.value == value, orElse: () => normal, ); }