transactionPaymentChannelNullableListFromJson function
List<TransactionPaymentChannel> ?
transactionPaymentChannelNullableListFromJson(
- List? transactionPaymentChannel, [
- List<
TransactionPaymentChannel> ? defaultValue
Implementation
List<enums.TransactionPaymentChannel>?
transactionPaymentChannelNullableListFromJson(
List? transactionPaymentChannel, [
List<enums.TransactionPaymentChannel>? defaultValue,
]) {
if (transactionPaymentChannel == null) {
return defaultValue;
}
return transactionPaymentChannel
.map((e) => transactionPaymentChannelFromJson(e.toString()))
.toList();
}