MatchAction<T> class

Constructors

MatchAction({required String key, required Predicate<T> predicate, MatchActionType type = MatchActionType.and, bool isEnabled = true})
const
MatchAction.and({required String key, required Predicate<T> predicate, bool isEnabled = true})
const
MatchAction.disabled({required String key, required Predicate<T> predicate})
const
MatchAction.or({required String key, required Predicate<T> predicate, bool isEnabled = true})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
isEnabled bool
final
key String
final
predicate Predicate<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