What is this? #
This is a package shared between devtools_app, devtools_server, and external users accessing exported JSON files. This package contains structures describing the format of JSON files e.g., HeapSample, memory structures collected from the Dart VM (HeapSpace) and collected memory info from Android's ADB (AdbMemoryInfo).
Terms and Privacy #
By using Dart DevTools, you agree to the Google Terms of Service.
- Added field to Memory JSON file "dartDevToolsScreen": "memory".
- Updated MemoryJson to expose header and footer parts of the JSON file. The data portion is still the persisted List
- initial release
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: devtools_shared: ^0.2.0
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.5
dartfmt to format
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
devtools_shared.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
|Dart SDK||>=2.3.0 <3.0.0|