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