fromValue static method

FeedContentType fromValue(
  1. String value
)

Implementation

static FeedContentType fromValue(String value) {
  for (final item in FeedContentType.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown FeedContentType value: $value');
}