mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The GetMapping calls removed in this patch had the same code and had to be repeated across different test harnesses as well as in dart_snapshot.cc. Just make this a factory method so the code is less verbose.