transferNetworkNullableListFromJson function
List<TransferNetwork> ?
transferNetworkNullableListFromJson(
- List? transferNetwork, [
- List<
TransferNetwork> ? defaultValue
Implementation
List<enums.TransferNetwork>? transferNetworkNullableListFromJson(
List? transferNetwork, [
List<enums.TransferNetwork>? defaultValue,
]) {
if (transferNetwork == null) {
return defaultValue;
}
return transferNetwork
.map((e) => transferNetworkFromJson(e.toString()))
.toList();
}