JsonSearchHit class

One search hit inside a JSON tree.

path is the list of map keys and list indexes from the root to the node. inKey is true when the hit is in the node's label rather than its value. occurrence is the zero-based match index inside that label or value.

Constructors

JsonSearchHit({required List<Object> path, required bool inKey, required int occurrence})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
inKey → bool
final
occurrence → int
final
path → List<Object>
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