fromValue static method

Implementation

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