Condition class abstract

A predicate over a data-model node, used by Matcher.onlyIf, ExploreRecursive.stopAt, and ExploreConditional.condition.

The spec marks the Condition union as skeletal; this implements the members listed there: hasField, = (hasValue), % (hasKind), / (isLink), greaterThan, lessThan, and, or.

Implementers

Constructors

Condition()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(IPLDNode node) → bool
Whether the condition holds for node.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNode() → IPLDNode
toString() → String
A string representation of this object.
inherited

Operators

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