Skip to content

Commit

Permalink
Added BigInt as exactlytype (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
YarnoVdW authored Aug 29, 2024
1 parent 0fa0407 commit c13890c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generator/lib/src/generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,9 @@ if (T != dynamic &&
_typeChecker(double).isExactlyType(returnType) ||
_typeChecker(num).isExactlyType(returnType) ||
_typeChecker(Double).isExactlyType(returnType) ||
_typeChecker(Float).isExactlyType(returnType);
_typeChecker(Float).isExactlyType(returnType) ||
_typeChecker(BigInt).isExactlyType(returnType) ||
_typeChecker(Long).isExactlyType(returnType);
}

bool _isEnum(DartType? dartType) {
Expand Down

0 comments on commit c13890c

Please sign in to comment.