fromValue static method

ColorBeanKey fromValue(
  1. String value
)

Implementation

static ColorBeanKey fromValue(String value) => values
    .firstWhere((e) => e.value == value, orElse: () => ColorBeanKey._(value));