StartsWithPatternMatcherRule class

Checks if the given input string starts with the given pattern.

Constructors

StartsWithPatternMatcherRule(String fact, String pattern)
const

Properties

fact String
final
hashCode int
The hash code for this object.
no setterinherited
pattern String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply() → RuleResponse<RegExpMatch>
An alias for the execute function.
inherited
build() → Rule<String, RegExpMatch>
execute() → RuleResponse<RegExpMatch>
inherited
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