InfoMessage class

Constructors

InfoMessage({String? topic, String? from, String? what, int? seq})

Properties

from String?
id of the user who published the message, always present
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?
ID of the message that client has acknowledged, guaranteed 0 < read <= recv <= {ctrl.params.seq}; present for rcpt & read
final
topic String?
topic affected, always present
final
what String?
string, one of "kp", "recv", "read", see client-side {note},
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) InfoMessage