35075c1c22
This aligns this code better with Effective Dart and prepares for the upcoming lint rule change at https://dart-review.googlesource.com/c/sdk/+/353140. Change-Id: Ibfb4736ae01a6e2d843f9faf19eba08c16ff6c92 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353222 Reviewed-by: Joshua Litt <joshualitt@google.com> Commit-Queue: Joshua Litt <joshualitt@google.com> Auto-Submit: Samuel Rawlins <srawlins@google.com>