fromValue static method

AnnotationType fromValue(
  1. String value
)

Implementation

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