HeapSample constructor
HeapSample(
- int timestamp,
- int rss,
- int capacity,
- int used,
- int external,
- bool isGC,
- AdbMemoryInfo? adbMemoryInfo,
- EventSample? memoryEventInfo,
- RasterCache? rasterCache,
Implementation
HeapSample(
this.timestamp,
this.rss,
this.capacity,
this.used,
this.external,
this.isGC,
AdbMemoryInfo? adbMemoryInfo,
EventSample? memoryEventInfo,
RasterCache? rasterCache,
) : adbMemoryInfo = adbMemoryInfo ?? AdbMemoryInfo.empty(),
memoryEventInfo = memoryEventInfo ?? EventSample.empty(),
rasterCache = rasterCache ?? RasterCache.empty();