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
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