HeapSample constructor

HeapSample(
  1. int timestamp,
  2. int rss,
  3. int capacity,
  4. int used,
  5. int external,
  6. bool isGC,
  7. AdbMemoryInfo? adbMemoryInfo,
  8. EventSample? memoryEventInfo,
  9. 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();