fromValue static method

Implementation

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