webhookToolApiSchemaConfigOutputMethodNullableListFromJson function

List<WebhookToolApiSchemaConfigOutputMethod>? webhookToolApiSchemaConfigOutputMethodNullableListFromJson(
  1. List? webhookToolApiSchemaConfigOutputMethod, [
  2. List<WebhookToolApiSchemaConfigOutputMethod>? defaultValue
])

Implementation

List<enums.WebhookToolApiSchemaConfigOutputMethod>?
    webhookToolApiSchemaConfigOutputMethodNullableListFromJson(
  List? webhookToolApiSchemaConfigOutputMethod, [
  List<enums.WebhookToolApiSchemaConfigOutputMethod>? defaultValue,
]) {
  if (webhookToolApiSchemaConfigOutputMethod == null) {
    return defaultValue;
  }

  return webhookToolApiSchemaConfigOutputMethod
      .map((e) => webhookToolApiSchemaConfigOutputMethodFromJson(e.toString()))
      .toList();
}