webhookToolApiSchemaConfigOutputMethodListToJson function
List<String>
webhookToolApiSchemaConfigOutputMethodListToJson(
- List<
WebhookToolApiSchemaConfigOutputMethod> ? webhookToolApiSchemaConfigOutputMethod
Implementation
List<String> webhookToolApiSchemaConfigOutputMethodListToJson(
List<enums.WebhookToolApiSchemaConfigOutputMethod>?
webhookToolApiSchemaConfigOutputMethod) {
if (webhookToolApiSchemaConfigOutputMethod == null) {
return [];
}
return webhookToolApiSchemaConfigOutputMethod.map((e) => e.value!).toList();
}