title: Flutter & Dart: What is the correct way to manage obtained data from a computation made in an Isolate?
body: <p>When doing expensive computations in Dart it is highly recommended to start up additional <a href="https://api.flutter.dev/flutter/dart-isolate/Isolate-class.html" rel="nofollow noreferrer">isolates</a>. I know that, since isolates don't share any state, if you want to create communication between them, there is the possibility to pass a message from one to another by using <a href="https://api.flutter.dev/flutter/dart-isolate/SendPort-class.html" rel="nofollow noreferrer">SendPort</a> and <a href="https://api.flutter.dev/flutter/dart-isolate/ReceivePort-class.html" rel="nofollow noreferrer">ReceivePort</a>. However, when doing a computation in another Isolate, within the process of this new created isolate one could actually initialize an already created variable, for instance a variable of a Singleton, right?</p>
  <p>So my questions are: Is it okay to proceed like this? What is the correct way to manage obtained data from a computation made in an isolate and why? Should we always only work with messages when doing computations within new isolates?</p>