Offline analysis for heap snapshots
We want user to be able to take heap snapshots in release mode and analyze them later in DevTools > Memory > Diff
How to take snapshot in release mode: https://github.com/dart-lang/sdk/blob/main/runtime/tools/heapsnapshot/README.md
https://avenue-demo.squarespace.com/?nochrome=false
https://user-images.githubusercontent.com/12115586/236106176-9cbeafbc-f59e-4a40-b34f-c71e9ac2b122.mov
Error handling:

The change was relanded in https://dart-review.googlesource.com/c/sdk/+/304212 but the leak_tracked package was not added to Flutter engine DEPS before adding dependencies on it. This causes failures on monorepo builds and when rolling Dart into engine. Fixed by https://github.com/flutter/engine/pull/42241