klass property Null safety

HeapSnapshotClass klass

The class representing the type of this object.

Implementation

HeapSnapshotClass get klass {
  if (_classId <= 0) {
    return HeapSnapshotClass._sentinel();
  }
  return _graph._classes[_classId];
}