fromValue static method

PageBodyWriteRepresentation fromValue(
  1. String value
)

Implementation

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