f990e70930
Avoids breaks that appear when enabling the `nnbd` experiment by default as seen in: https://dart-review.googlesource.com/c/sdk/+/166790 Change-Id: Idaf69b40c27336c8601cb143741f79604d2647e7 Fixes: https://github.com/dart-lang/sdk/issues/43843 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168583 Reviewed-by: Mark Zhou <markzipan@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>