fromValue static method

Implementation

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