fromValue static method

ResourceCommitmentType fromValue(
  1. String value
)

Implementation

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