PhoenixMessage class Null safety

Constructors

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

Properties

event String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
joinRef String?
read / write
payload Map?
read / write
ref String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
topic String?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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