HasKindCondition class

Matches when node's kind equals kindName (one of map, list, string, bytes, int, float, bool, null, link).

Inheritance

Constructors

HasKindCondition(String kindName)
const

Properties

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

Methods

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

Operators

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