fromValue static method

KeyFormat fromValue(
  1. String value
)

Implementation

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