paymentScheduleIntervalNullableListFromJson function
List<PaymentScheduleInterval> ?
paymentScheduleIntervalNullableListFromJson(
- List? paymentScheduleInterval, [
- List<
PaymentScheduleInterval> ? defaultValue
Implementation
List<enums.PaymentScheduleInterval>?
paymentScheduleIntervalNullableListFromJson(
List? paymentScheduleInterval, [
List<enums.PaymentScheduleInterval>? defaultValue,
]) {
if (paymentScheduleInterval == null) {
return defaultValue;
}
return paymentScheduleInterval
.map((e) => paymentScheduleIntervalFromJson(e.toString()))
.toList();
}