Closes https://github.com/dart-lang/sdk/issues/53422 Change-Id: Ia3d138acf870533c88be2dd81cc4079176b2fec7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329101 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>