Closed sabin26 closed 1 day ago
Hello, this one should be fixed after upgrading Squadron to 6.1.2 (no update needed for squadron_builder).
I updated the method to return non-nullable Uint8List instead of nullable Uint8List? and it worked without updating squadron version.
Code:
Then I did the following:
dart run build_runner clean
dart run build_runner build
The build_runner step completes successfully but I get an error on runtime when calling the method only on VM Environment: Desktop (Windows). The method completes without error on Web platform (both JS/WASM)
Error
Type '_Uint8ArrayView' is not a subtype of type 'ByteBuffer?' in type cast
Generated Code:
Versions: squadron: ^6.1.1 squadron_builder: ^6.1.1