fromValue static method

Implementation

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