SelectedNode class

Result of a selector execution.

Constructors

SelectedNode({required CID cid, required IPLDNode node, String? path, String? label, int? index, required int remainingDepth})
Creates a selected node result.

Properties

cid → CID
The CID of the block containing the selected node.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int?
The matcher's index annotation, if the matching Matcher carried one.
final
label → String?
The matcher's label, if the matching Matcher carried one.
final
node → IPLDNode
The selected IPLD data-model node.
final
path → String?
The IPLD path from the root to the selected node, if requested.
final
remainingDepth → int
The remaining recursion budget at the point of selection.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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