bankTransferEventListDirectionListFromJson function
List<BankTransferEventListDirection>
bankTransferEventListDirectionListFromJson(
- List? bankTransferEventListDirection, [
- List<
BankTransferEventListDirection> ? defaultValue
Implementation
List<enums.BankTransferEventListDirection>
bankTransferEventListDirectionListFromJson(
List? bankTransferEventListDirection, [
List<enums.BankTransferEventListDirection>? defaultValue,
]) {
if (bankTransferEventListDirection == null) {
return defaultValue ?? [];
}
return bankTransferEventListDirection
.map((e) => bankTransferEventListDirectionFromJson(e.toString()))
.toList();
}