756dd1c665
The members used to match a map/list pattern should be pulled from the required type and not the matched type in order to avoid wrongfully using extension type members. Closes #63315 Change-Id: Idccc19fad1a3fc5cd1ecac2cfdb0ef0ee431d50f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/502700 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>