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