webhookToolApiSchemaConfigOutputMethodNullableFromJson function

WebhookToolApiSchemaConfigOutputMethod? webhookToolApiSchemaConfigOutputMethodNullableFromJson(
  1. Object? webhookToolApiSchemaConfigOutputMethod, [
  2. WebhookToolApiSchemaConfigOutputMethod? defaultValue
])

Implementation

enums.WebhookToolApiSchemaConfigOutputMethod?
    webhookToolApiSchemaConfigOutputMethodNullableFromJson(
  Object? webhookToolApiSchemaConfigOutputMethod, [
  enums.WebhookToolApiSchemaConfigOutputMethod? defaultValue,
]) {
  if (webhookToolApiSchemaConfigOutputMethod == null) {
    return null;
  }
  return enums.WebhookToolApiSchemaConfigOutputMethod.values.firstWhereOrNull(
          (e) => e.value == webhookToolApiSchemaConfigOutputMethod) ??
      defaultValue;
}