transactionCodeNullableListFromJson function
List<TransactionCode> ?
transactionCodeNullableListFromJson(
- List? transactionCode, [
- List<
TransactionCode> ? defaultValue
Implementation
List<enums.TransactionCode>? transactionCodeNullableListFromJson(
List? transactionCode, [
List<enums.TransactionCode>? defaultValue,
]) {
if (transactionCode == null) {
return defaultValue;
}
return transactionCode
.map((e) => transactionCodeFromJson(e.toString()))
.toList();
}