JsonPathMatcher class Null safety

Information needed to perform a JSONPath content match.

Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.

Constructors

JsonPathMatcher({String? jsonMatcher, String? jsonPath})
JsonPathMatcher.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
jsonMatcher String?
The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content) Possible string values are:
read / write
jsonPath String?
JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
read / write
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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