bankTransferNetworkNullableListFromJson function
List<BankTransferNetwork> ?
bankTransferNetworkNullableListFromJson(
- List? bankTransferNetwork, [
- List<
BankTransferNetwork> ? defaultValue
Implementation
List<enums.BankTransferNetwork>? bankTransferNetworkNullableListFromJson(
List? bankTransferNetwork, [
List<enums.BankTransferNetwork>? defaultValue,
]) {
if (bankTransferNetwork == null) {
return defaultValue;
}
return bankTransferNetwork
.map((e) => bankTransferNetworkFromJson(e.toString()))
.toList();
}