webhookToolApiSchemaConfigInputMethodFromJson function

WebhookToolApiSchemaConfigInputMethod webhookToolApiSchemaConfigInputMethodFromJson(
  1. Object? webhookToolApiSchemaConfigInputMethod, [
  2. WebhookToolApiSchemaConfigInputMethod? defaultValue
])

Implementation

enums.WebhookToolApiSchemaConfigInputMethod
    webhookToolApiSchemaConfigInputMethodFromJson(
  Object? webhookToolApiSchemaConfigInputMethod, [
  enums.WebhookToolApiSchemaConfigInputMethod? defaultValue,
]) {
  return enums.WebhookToolApiSchemaConfigInputMethod.values.firstWhereOrNull(
          (e) => e.value == webhookToolApiSchemaConfigInputMethod) ??
      defaultValue ??
      enums.WebhookToolApiSchemaConfigInputMethod.swaggerGeneratedUnknown;
}