Presence class Null safety

Class that encapsulate all presence events for a specific key as a list of metadatas events metas.

Constructors

Presence.fromJson(String key, Map<String, dynamic> events)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
key String
Identify the presence, typically a userId.
final
metas List<PhoenixPresenceMeta>
A list of all events metadatas for this Presence key.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clone() Presence
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