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