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