webhookToolApiSchemaConfigOutputMethodNullableFromJson function
WebhookToolApiSchemaConfigOutputMethod?
webhookToolApiSchemaConfigOutputMethodNullableFromJson(
- Object? webhookToolApiSchemaConfigOutputMethod, [
- 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;
}