webhookTypeListToJson function
Implementation
List<String> webhookTypeListToJson(List<enums.WebhookType>? webhookType) {
if (webhookType == null) {
return [];
}
return webhookType.map((e) => enums.$WebhookTypeMap[e]!).toList();
}
List<String> webhookTypeListToJson(List<enums.WebhookType>? webhookType) {
if (webhookType == null) {
return [];
}
return webhookType.map((e) => enums.$WebhookTypeMap[e]!).toList();
}