HeapSample class

DevTools Plotted and JSON persisted memory information.

Constructors

HeapSample(int timestamp, int rss, int capacity, int used, int external, bool isGC, AdbMemoryInfo? adbMemoryInfo, EventSample? memoryEventInfo, RasterCache? rasterCache)
HeapSample.fromJson(Map<String, dynamic> json)
factory

Properties

adbMemoryInfo AdbMemoryInfo
getter/setter pair
capacity int
final
external int
final
hashCode int
The hash code for this object.
no setterinherited
isGC bool
final
memoryEventInfo EventSample
getter/setter pair
rasterCache RasterCache
getter/setter pair
rss int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
final
used int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

version → const int
Version of HeapSample JSON payload.