fromValue static method

KeyType fromValue(
  1. String value
)

Implementation

static KeyType fromValue(String value) =>
    values.firstWhere((e) => e.value == value);