fromValue static method

Implementation

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