devtools_shared library

Classes

AdbMemoryInfo
Android ADB dumpsys meminfo data.
AllocationAccumulator
Monitor heap object allocations (in the VM). The allocation monitor will cause 'start' event exist in the HeapSample. Immediately afterwards a 'continues' event is added on each subsequent timestamp tick (HeapSample) until another monitor start event. A 'reset' event stops the 'continues' event for one timestamp tick with a 'reset' event. Immediately after the reset event a 'continues' event will again appear in the HeapSample's MemoryEventInfo - until a new monitor is started. One monitor exists per VM connection.
AllocationMemoryJson
Structure of the memory JSON file:
ClassHeapDetailStats
Entries for each class statistics
DecodeEncode<T>
DeeplinkApi
EventSample
ExtensionEvent
ExtensionEvents
ExtensionsApi
HeapSample
DevTools Plotted and JSON persisted memory information.
HeapSpace
HeapSpace of Dart VM collected heap data.
MemoryJson<T>
RasterCache
Engine's Raster Cache estimates.
RegisteredService
SamplesMemoryJson
SemanticVersion
SseClient
A shim that imitates the interface of SseClient from package:sse.

Mixins

CompareMixin

Constants

activeSurveyName → const String
Survey name passed in apiSetActiveSurvey, the activeSurveyName is the property name passed as a queryParameter and is the property in ~/.devtools too.
apiGetBaseAppSizeFile → const String
Returns the base app size file, if present.
apiGetDevToolsEnabled → const String
apiGetDevToolsFirstRun → const String
apiGetFlutterGAClientId → const String
apiGetFlutterGAEnabled → const String
Flutter GA properties APIs:
apiGetLastReleaseNotesVersion → const String
Returns the last DevTools version for which we have shown release notes.
apiGetSurveyActionTaken → const String
Returns the surveyActionTaken of the activeSurvey (apiSetActiveSurvey).
apiGetSurveyShownCount → const String
Returns the surveyShownCount of the of the activeSurvey (apiSetActiveSurvey).
apiGetTestAppSizeFile → const String
Returns the test app size file used for comparing two files in a diff, if present.
apiIncrementSurveyShownCount → const String
Increments the surveyShownCount of the of the activeSurvey (apiSetActiveSurvey).
apiPrefix → const String
All server APIs prefix:
apiResetDevTools → const String
DevTools GA properties APIs:
apiSetActiveSurvey → const String
Survey properties APIs: setActiveSurvey sets the survey property to fetch and save JSON values e.g., Q1-2020
apiSetDevToolsEnabled → const String
apiSetLastReleaseNotesVersion → const String
Sets the last DevTools version for which we have shown release notes.
apiSetSurveyActionTaken → const String
Sets the surveyActionTaken of the of the activeSurvey (apiSetActiveSurvey).
baseAppSizeFilePropertyName → const String
devToolsEnabledPropertyName → const String
Property name to apiSetDevToolsEnabled the DevToolsEnabled is the name used in queryParameter:
flutterEngineRasterCache → const String
Flutter engine returns estimate how much memory is used by layer/picture raster cache entries in bytes.
flutterListViews → const String
flutterMemory → const RegisteredService
Flutter memory service registered by Flutter Tools.
lastReleaseNotesVersionPropertyName → const String
surveyActionTakenPropertyName → const String
Property name to apiSetSurveyActionTaken the surveyActionTaken is the name passed in queryParameter:
testAppSizeFilePropertyName → const String

Functions

normalizeVmServiceUri(String value) Uri?
Returns a normalized vm service uri.