BaseMessage class Basic Features

Represents a base message.

Used as a base class for the messages hierarchy.

Implementers

Constructors

BaseMessage({required Timetoken publishedAt, required dynamic content, required dynamic originalMessage, PubNubException? error})
const

Properties

content → dynamic
Actual content of the message.
final
error PubNubException?
If message decryption failed then error field contains PubNubExcpeption
final
hashCode int
The hash code for this object.
no setterinherited
message → dynamic
Alias for content.
no setter
originalMessage → dynamic
Original JSON message received from the server.
final
publishedAt Timetoken
Timetoken at which the server accepted the message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timetoken Timetoken
Alias for publishedAt.
no setter

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