PresMessage class

Constructors

PresMessage({String? topic, String? src, String? what, int? seq, int? clear, List<DeleteTransactionRange>? delseq, String? ua, String? act, String? tgt, AccessMode? acs, AccessMode? dacs})

Properties

acs → AccessMode?
Changes to access mode, "what" is "acs", optional
final
act String?
User who performed the action, optional
final
clear int?
"what" is "del", an update to the delete transaction Id.
final
dacs → AccessMode?
final
delseq List<DeleteTransactionRange>?
Array of ranges, "what" is "del", ranges of Ids of deleted messages, optional
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seq int?
"what" is "msg", a server-issued Id of the message, optional
getter/setter pair
src String?
Topic or user affected by the change, always present
final
tgt String?
User affected by the action, optional
final
topic String?
Topic which receives the notification, always present
final
ua String?
A User Agent string identifying client
final
what String?
what's changed, always present
final

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

Static Methods

fromMessage(Map<String, dynamic> msg) PresMessage