Generators with yield*
Last updated: 12.09.2020 - 16:00 by Boehrsi
Generator functions in Dart are pretty useful, but it’s important to use them the right way. It’s required to use the yield*
prefix for related method calls, as without the function won’t be called at all.
This leads to malfunctions and is also quite hard to debug, as it’s not obvious (no errors are thrown).