MessagePredicate class
Lets you show only specific messages in the chat panel of a Chatbox, Inbox or Popup.
- Annotations
-
- @JS()
- @anonymous
Constructors
- MessagePredicate()
-
factory
Properties
- custom ↔ dynamic
-
Only select messages that have particular custom fields set to particular values.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- origin ↔ dynamic
-
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).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender ↔ dynamic
-
Only show messages that are sent by a sender that has all of the given properties
getter/setter pair
- type ↔ dynamic
-
Only show messages of a given type, for example:
getter/setter pair
Methods
-
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