webhookTypeListFromJson function
Implementation
List<enums.WebhookType> webhookTypeListFromJson(
List? webhookType, [
List<enums.WebhookType>? defaultValue,
]) {
if (webhookType == null) {
return defaultValue ?? [];
}
return webhookType.map((e) => webhookTypeFromJson(e.toString())).toList();
}