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