MatchOnePatternRule class
Checks if the given input string matches at least one pattern from the given list.
Constructors
-
MatchOnePatternRule(String fact, {required Iterable<
String> patterns}) -
const
Properties
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