LookupResult class

Result of a child lookup in a ContainerNode.

Constructors

LookupResult(Node node, int offset)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
isEmpty bool
Returns true if there is no child node found, e.g. node is null.
read-only
isNotEmpty bool
Returns true node is not null.
read-only
node Node
The child node if found, otherwise null.
final
offset int
Starting offset within the child node which points at the same character in the document as the original offset passed to ContainerNode.lookup method.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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