fromValue static method

Implementation

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