u/RandalSchwartzin r/FlutterDev • Recommends
On “Does Flutter/Dart have GIL?”
> You can still have nightmares with single threaded async code - this is why you need to copy any nullable object state variables for them to be promoted, otherwise they need ! every time even if you check for null multiple times in the same method.
This is flat out wrong. The problem isn't async. It's "getters" that might be overriding properties. A getter isn't required to return the same value twice.
I did a video on this (link to this video and followed it up with a Dart 3 update (link to this video Watch those to understand why the problem has NOTHING to do with async.