32124f25a0
This makes API consistent. Bug: https://github.com/dart-lang/sdk/issues/61231 Change-Id: I841dc10cd2ef4b28286d374af26c079dcf69179e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444863 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>