transferStatusNullableListFromJson function
List<TransferStatus> ?
transferStatusNullableListFromJson(
- List? transferStatus, [
- List<
TransferStatus> ? defaultValue
Implementation
List<enums.TransferStatus>? transferStatusNullableListFromJson(
List? transferStatus, [
List<enums.TransferStatus>? defaultValue,
]) {
if (transferStatus == null) {
return defaultValue;
}
return transferStatus
.map((e) => transferStatusFromJson(e.toString()))
.toList();
}