See e.g. simolus3/drift#2279 (comment)
dart test test/isolate_test.dart
00:01 +8 -1: in same isolate with explicit serialization can run deletes, updates and batches [E]
Invalid argument(s): Illegal argument in isolate message: (object is a SuspendState)
dart:isolate Isolate.run
test/isolate_test.dart 255:19 _runTests.<fn>
I don't know where SuspendState is defined. It's not defined in Drift AFAICT, and I don't see it when I search on api.dart.dev.
So basically, I don't really know what's wrong or where to start with fixing this issue.