webhookEnvironmentValuesListToJson function
List<String>
webhookEnvironmentValuesListToJson(
- List<
WebhookEnvironmentValues> ? webhookEnvironmentValues
Implementation
List<String> webhookEnvironmentValuesListToJson(
List<enums.WebhookEnvironmentValues>? webhookEnvironmentValues) {
if (webhookEnvironmentValues == null) {
return [];
}
return webhookEnvironmentValues
.map((e) => enums.$WebhookEnvironmentValuesMap[e]!)
.toList();
}