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