transferSweepStatusListFromJson function
List<TransferSweepStatus>
transferSweepStatusListFromJson(
- List? transferSweepStatus, [
- List<
TransferSweepStatus> ? defaultValue
Implementation
List<enums.TransferSweepStatus> transferSweepStatusListFromJson(
List? transferSweepStatus, [
List<enums.TransferSweepStatus>? defaultValue,
]) {
if (transferSweepStatus == null) {
return defaultValue ?? [];
}
return transferSweepStatus
.map((e) => transferSweepStatusFromJson(e.toString()))
.toList();
}