fromValue static method

RepositoryFormat fromValue(
  1. String value
)

Implementation

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