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