82a952f14a
Also updates special cased handling of the `scope` parameter to instead work for any Map typed parameter. Simplified things in general here by casting values to the correct collection type and then relying on `.cast()` to fill in the proper generic types instead of explicitly filling them in. Change-Id: I7fef91105ca73ee9726780abd76e92817a9e46c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/504780 Commit-Queue: Jake Macdonald <jakemac@google.com> Auto-Submit: Jake Macdonald <jakemac@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>