PhoenixMessage class

Constructors

PhoenixMessage(String? joinRef, String? ref, String? topic, String? event, Map? payload)
PhoenixMessage.fromMessage(PhoenixMessage message, dynamic anyPayload)
PhoenixMessage.heartbeat(String? pendingHeartbeatRef)
Constructor for a hearbeat message.

Properties

event String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
joinRef String?
getter/setter pair
payload Map?
getter/setter pair
payloadAny ↔ dynamic
getter/setter pair
ref String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(dynamic rawPayload) PhoenixMessage
Convenience function for decoding received Phoenix messages