SamplingHeapProfileNode class Null safety

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Constructors

SamplingHeapProfileNode({required CallFrame callFrame, required num selfSize, required int id, required List<SamplingHeapProfileNode> children})
SamplingHeapProfileNode.fromJson(Map<String, dynamic> json)
factory

Properties

callFrame CallFrame
Function location.
final
children List<SamplingHeapProfileNode>
Child nodes.
final
hashCode int
The hash code for this object.
read-onlyinherited
id int
Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selfSize num
Allocations size in bytes for the node excluding children.
final

Methods

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

Operators

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