walletTransactionStatusNullableListFromJson function
List<WalletTransactionStatus> ?
walletTransactionStatusNullableListFromJson(
- List? walletTransactionStatus, [
- List<
WalletTransactionStatus> ? defaultValue
Implementation
List<enums.WalletTransactionStatus>?
walletTransactionStatusNullableListFromJson(
List? walletTransactionStatus, [
List<enums.WalletTransactionStatus>? defaultValue,
]) {
if (walletTransactionStatus == null) {
return defaultValue;
}
return walletTransactionStatus
.map((e) => walletTransactionStatusFromJson(e.toString()))
.toList();
}