ValueOrMatcher<T> class

Implementers

Constructors

ValueOrMatcher.matcher(Matcher _matcher)
const
ValueOrMatcher.value(T _value)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Object?
no setter

Methods

mapValue(Object onValue(T value)) → Object?
Maps a concrete value through onValue (e.g. wrap a token in Bearer …); a matcher passes through untouched so easy_mock_http matches on it.
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