SearchResult class

A matched search in the given node.

If the match is registered in the node's key, then matchLocation is going to be SearchMatchLocation.key.

If the match is in the value, then matchLocation is SearchMatchLocation.value.

Constructors

SearchResult(NodeViewModelState node, {required SearchMatchLocation matchLocation, required int matchIndex})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
matchIndex int
final
matchLocation SearchMatchLocation
final
node NodeViewModelState
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