Randal demonstrates why the analyzer can’t guarantee that once a null check has been processed, the value is definitely not null for further steps.
UPDATE: See how to fix this in Dart 3! • Dart 3: Devious Coin redux
Support Randal on Patreon via https://www.patreon.com/randalschwartz
Or buy Randal a Coffee via https://www.buymeacoffee.com/randalschwartz
12 Comments