webhookToolApiSchemaConfigOutputMethodFromJson function

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

Implementation

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