transferScheduleIntervalUnitNullableListFromJson function
List<TransferScheduleIntervalUnit> ?
transferScheduleIntervalUnitNullableListFromJson(
- List? transferScheduleIntervalUnit, [
- List<
TransferScheduleIntervalUnit> ? defaultValue
Implementation
List<enums.TransferScheduleIntervalUnit>?
transferScheduleIntervalUnitNullableListFromJson(
List? transferScheduleIntervalUnit, [
List<enums.TransferScheduleIntervalUnit>? defaultValue,
]) {
if (transferScheduleIntervalUnit == null) {
return defaultValue;
}
return transferScheduleIntervalUnit
.map((e) => transferScheduleIntervalUnitFromJson(e.toString()))
.toList();
}