PhoenixPresenceMeta class Null safety

Class that encapsulate the various metadata for a Presence event. This class only implements the default metadata field phxRef, all other custom fields are available in the json map data (including the 'phxRef' field). It can be extended with custom field as required, see 'example/flutter_presence_app' for an example on how to implement this in your code.

Constructors

PhoenixPresenceMeta.fromJson(Map<String, dynamic> meta)

Properties

data Map<String, dynamic>
The raw data associated with the meta.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
phxRef String
The Presence event reference on the backend Phoenix server.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clone() PhoenixPresenceMeta
Clones a PhoenixPresenceMeta object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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