TextStartsWithRule<VALUE extends Object> class

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

Constructors

TextStartsWithRule(String fact, String pattern, {required VALUE value})
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
value → VALUE
final

Methods

apply() → RuleResponse<VALUE>
An alias for the execute function.
inherited
execute() → RuleResponse<VALUE>
inherited
isSatisfied(String fact) bool
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