sandboxItemFireWebhookRequestWebhookCodeNullableListFromJson function
List<SandboxItemFireWebhookRequestWebhookCode> ?
sandboxItemFireWebhookRequestWebhookCodeNullableListFromJson(
- List? sandboxItemFireWebhookRequestWebhookCode, [
- List<
SandboxItemFireWebhookRequestWebhookCode> ? defaultValue
Implementation
List<enums.SandboxItemFireWebhookRequestWebhookCode>?
sandboxItemFireWebhookRequestWebhookCodeNullableListFromJson(
List? sandboxItemFireWebhookRequestWebhookCode, [
List<enums.SandboxItemFireWebhookRequestWebhookCode>? defaultValue,
]) {
if (sandboxItemFireWebhookRequestWebhookCode == null) {
return defaultValue;
}
return sandboxItemFireWebhookRequestWebhookCode
.map(
(e) => sandboxItemFireWebhookRequestWebhookCodeFromJson(e.toString()))
.toList();
}