NmResponseMatcher class
Response matcher.
Constructors
- NmResponseMatcher({required NmResponseMatchMode mode, required String pattern, bool caseSensitive = false})
-
Creates a NmResponseMatcher.
const
Properties
- caseSensitive → bool
-
Whether letter case must match.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- mode → NmResponseMatchMode
-
How the pattern is applied.
final
- pattern → String
-
Text or regular expression to look for.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{NmResponseMatchMode? mode, String? pattern, bool? caseSensitive}) → NmResponseMatcher - Copy with.
-
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.
override