webhookToolApiSchemaConfigInputMethodListFromJson function
List<WebhookToolApiSchemaConfigInputMethod>
webhookToolApiSchemaConfigInputMethodListFromJson(
- List? webhookToolApiSchemaConfigInputMethod, [
- List<
WebhookToolApiSchemaConfigInputMethod> ? defaultValue
Implementation
List<enums.WebhookToolApiSchemaConfigInputMethod>
webhookToolApiSchemaConfigInputMethodListFromJson(
List? webhookToolApiSchemaConfigInputMethod, [
List<enums.WebhookToolApiSchemaConfigInputMethod>? defaultValue,
]) {
if (webhookToolApiSchemaConfigInputMethod == null) {
return defaultValue ?? [];
}
return webhookToolApiSchemaConfigInputMethod
.map((e) => webhookToolApiSchemaConfigInputMethodFromJson(e.toString()))
.toList();
}