webhookEnvironmentValuesNullableListFromJson function
List<WebhookEnvironmentValues> ?
webhookEnvironmentValuesNullableListFromJson(
- List? webhookEnvironmentValues, [
- List<
WebhookEnvironmentValues> ? defaultValue
Implementation
List<enums.WebhookEnvironmentValues>?
webhookEnvironmentValuesNullableListFromJson(
List? webhookEnvironmentValues, [
List<enums.WebhookEnvironmentValues>? defaultValue,
]) {
if (webhookEnvironmentValues == null) {
return defaultValue;
}
return webhookEnvironmentValues
.map((e) => webhookEnvironmentValuesFromJson(e.toString()))
.toList();
}