JsonPathResult class

The outcome of resolving a JsonPath against a decoded JSON tree.

Constructors

JsonPathResult.found(dynamic value)
const
JsonPathResult.missing(String? missingAt)
const

Properties

found → bool
Whether every segment of the path resolved.
final
hashCode → int
The hash code for this object.
no setterinherited
missingAt → String?
The path prefix that failed, e.g. data.items when data existed but held no items. Null when found is true.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value at the path, or null when found is false.
final

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