Switch to summary2.
Switch to summary2.

Back-port 9b80826f84355f1a6a80c646095d3d6e5e3ea2df (https://dart-review.googlesource.com/c/sdk/+/113620, Don't record dependencies on arguments if the instantiated class is not generic.) and 9aa48c2e91a3a341a7add970fe0406f26f4e81da (https://dart-review.googlesource.com/c/sdk/+/113963, Build local elements in initializers of typed constants.)

PiperOrigin-RevId: 266993687

angulardart/angular,angulardart/angular,angulardart/angular