MatchAction<T> class
Constructors
-
MatchAction({required String key, required DataCollectionPredicate<
T> predicate, MatchActionType type = MatchActionType.and, bool isEnabled = true}) -
const
-
MatchAction.and({required String key, required DataCollectionPredicate<
T> predicate, bool isEnabled = true}) -
const
-
MatchAction.disabled({required String key, required DataCollectionPredicate<
T> predicate}) -
const
-
MatchAction.or({required String key, required DataCollectionPredicate<
T> predicate, bool isEnabled = true}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEnabled → bool
-
final
- key → String
-
final
-
predicate
→ DataCollectionPredicate<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → MatchActionType
-
final
Methods
-
copyWith(
{MatchActionType? type, bool? isEnabled}) → MatchAction< T> ? -
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.
override