TopicSubscription class
Topic subscriber
Constructors
Properties
- acs ↔ AccessMode?
-
User's access permissions
getter/setter pair
- clear ↔ int?
-
In case some messages were deleted, the greatest Id of a deleted message, optional
getter/setter pair
- created ↔ DateTime?
-
getter/setter pair
- deleted ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode ↔ String?
-
getter/setter pair
- noForwarding ↔ bool?
-
getter/setter pair
- online ↔ bool?
-
current online status of the user; if this is a
group or a p2p topic, it's user's online status in the topic,
i.e. if the user is attached and listening to messages; if this
is a response to a 'me' query, it tells if the topic is
online; p2p is considered online if the other party is
online, not necessarily attached to topic; a group topic
is considered online if it has at least one active
subscriber.
getter/setter pair
- private ↔ dynamic
-
Application-defined user's 'private' object.
getter/setter pair
- public ↔ dynamic
-
Application-defined user's 'public' object, absent when querying P2P topics
getter/setter pair
- read ↔ int?
-
Id of the message user claims through {note} message
getter/setter pair
- recv ↔ int?
-
Like 'read', but received, optional
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seen ↔ Seen?
-
If this is a P2P topic, info on when the peer was last online
getter/setter pair
- seq ↔ int?
-
Server-issued id of the last {data} message
getter/setter pair
- topic ↔ String?
-
Topic this subscription describes
getter/setter pair
- touched ↔ DateTime?
-
Timestamp of the last message in the topic (may also include
other events in the future, such as new subscribers)
getter/setter pair
- unread ↔ int?
-
getter/setter pair
- updated ↔ DateTime?
-
Timestamp of the last change in the subscription, present only for
requester's own subscriptions
getter/setter pair
- user ↔ String?
-
Id of the user this subscription
getter/setter pair
Methods
-
asDesc(
) → TopicDescription -
copy(
) → TopicSubscription -
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
Static Methods
-
fromMessage(
Map< String, dynamic> msg) → TopicSubscription