fromValue static method

Implementation

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