There is currently no straightforward way to convert a Dart BigInt to a JSBigInt using the dart:js_interop package.
Steps to Reproduce:
Attempt to pass a Dart BigInt to a JavaScript function that expects a JSBigInt.
Observe that there is no built-in method to perform this conversion directly.
Expected Behavior:
There should be a built-in method or straightforward way to convert a Dart BigInt to a JSBigInt, similar to how other types like String, num, and List are handled. (toDart, toJS)
There is currently no straightforward way to convert a Dart BigInt to a JSBigInt using the dart:js_interop package.
Steps to Reproduce:
Expected Behavior: There should be a built-in method or straightforward way to convert a Dart BigInt to a JSBigInt, similar to how other types like String, num, and List are handled. (toDart, toJS)
Dart 3.4.3 (stable) Flutter 3.22.2 (stable)