StringMatcher class

Specifies the way to match a string.

[#next-free-field: 9]

Constructors

StringMatcher({String? contains, TypedExtensionConfig? custom, String? exact, bool? ignoreCase, String? prefix, RegexMatcher? safeRegex, String? suffix})
StringMatcher.fromJson(Map json_)

Properties

contains String?
The input string must have the substring specified here.
getter/setter pair
custom TypedExtensionConfig?
Use an extension as the matcher type.
getter/setter pair
exact String?
The input string must match exactly the string specified here.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ignoreCase bool?
If true, indicates the exact/prefix/suffix/contains matching should be case insensitive.
getter/setter pair
prefix String?
The input string must have the prefix specified here.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeRegex RegexMatcher?
The input string must match the regular expression specified here.
getter/setter pair
suffix String?
The input string must have the suffix specified here.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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