fromValue static method

ContentRestrictionOperation fromValue(
  1. String value
)

Implementation

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