fromValue static method

GitRepoSourceRepoType fromValue(
  1. String value
)

Implementation

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