cda9755918
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: I1b3ff4a4f85ec2182d06a67acf0e43fbc45129f2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353220 Auto-Submit: Samuel Rawlins <srawlins@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com>