65d157b5bb
It was not necessary for this argument to support both `String` and `DartType`; we can ensure that we always pass in a `DartType` by calling `ClassElement.thisType`. Change-Id: I94ac2fed7495b8267edea003d1fd088649c2d4a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/217620 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Paul Berry <paulberry@google.com>