1133591eeb36d8d0071b1a391575b5dfbcfd72c4
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.
Add factory methods to FileMapping that make it easy to create common mappings. (flutter/engine#8652)
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%