fromValue static method

Implementation

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