transferScheduleIntervalUnitListToJson function
List<String>
transferScheduleIntervalUnitListToJson(
- List<
TransferScheduleIntervalUnit> ? transferScheduleIntervalUnit
Implementation
List<String> transferScheduleIntervalUnitListToJson(
List<enums.TransferScheduleIntervalUnit>? transferScheduleIntervalUnit) {
if (transferScheduleIntervalUnit == null) {
return [];
}
return transferScheduleIntervalUnit
.map((e) => enums.$TransferScheduleIntervalUnitMap[e]!)
.toList();
}