bankTransferDirectionNullableListFromJson function
List<BankTransferDirection> ?
bankTransferDirectionNullableListFromJson(
- List? bankTransferDirection, [
- List<
BankTransferDirection> ? defaultValue
Implementation
List<enums.BankTransferDirection>? bankTransferDirectionNullableListFromJson(
List? bankTransferDirection, [
List<enums.BankTransferDirection>? defaultValue,
]) {
if (bankTransferDirection == null) {
return defaultValue;
}
return bankTransferDirection
.map((e) => bankTransferDirectionFromJson(e.toString()))
.toList();
}