Snapshot class

This class represents snapshot graph.

Note that we do not eagerly deserialize the graph, instead we provide helper methods and wrapper objects to work with serialized representation.

Constructors

Snapshot.fromJson(Map<String, dynamic> m)
Construct Snapshot object from the given JSON object.
factory

Properties

edgeCount int
final
hashCode int
The hash code for this object.
no setterinherited
meta Meta
final
nodeCount int
final
nodes Iterable<Node>
Return all nodes in the snapshot.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strings List
final

Methods

dominatorOf(Node n) Node
Return dominator node for the given node n.
nodeAt(int index) Node
Return node with the given index.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

isV8HeapSnapshot(Object m) bool
Returns true if the given JSON object is likely to be a serialized snapshot using V8 heap snapshot format.