MessagePredicate class
- Inheritance
-
- Object
- BaseMessagePredicate
- MessagePredicate
Constructors
-
MessagePredicate({Map<
String, CustomFieldPredicate> ? custom, FieldPredicate<MessageOrigin> ? origin, SenderPredicate? sender, FieldPredicate<MessageType> ? type}) -
const
- MessagePredicate.of(MessagePredicate other)
Properties
-
custom
→ Map<
String, CustomFieldPredicate> ? -
Only select messages that have particular custom fields set to particular values.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
origin
→ FieldPredicate<
MessageOrigin> ? -
Only show messages that were sent by users (web), through the REST API (rest), via
reply-to-email (email) or via the import REST API (import).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → SenderPredicate?
-
Only show messages that are sent by a sender that has all of the given properties
final
-
type
→ FieldPredicate<
MessageType> ? -
Only show messages of a given type
final
Methods
-
clone(
) → BaseMessagePredicate -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override