webhookToolApiSchemaConfigOutputMethodListFromJson function
List<WebhookToolApiSchemaConfigOutputMethod>
webhookToolApiSchemaConfigOutputMethodListFromJson(
- List? webhookToolApiSchemaConfigOutputMethod, [
- List<
WebhookToolApiSchemaConfigOutputMethod> ? defaultValue
Implementation
List<enums.WebhookToolApiSchemaConfigOutputMethod>
webhookToolApiSchemaConfigOutputMethodListFromJson(
List? webhookToolApiSchemaConfigOutputMethod, [
List<enums.WebhookToolApiSchemaConfigOutputMethod>? defaultValue,
]) {
if (webhookToolApiSchemaConfigOutputMethod == null) {
return defaultValue ?? [];
}
return webhookToolApiSchemaConfigOutputMethod
.map((e) => webhookToolApiSchemaConfigOutputMethodFromJson(e.toString()))
.toList();
}