You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PR you linked involves types sent to an isolate due to generator code during encoding/decoding.
Here I don't believe this is something that dio is doing. The easy answer is, don't try to send complex types through a SendPort.
Request Statement
flutter/flutter#126520 (comment)
Classes might cause unsendable issues when passing through isolates. Someone reported that
MultipartFile
is not sendable which fails the runtime.Solution Brainstorm
Make those classes sendable, or figure out ways to handle them in isolates.
The text was updated successfully, but these errors were encountered: