Presence class

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.
no setterinherited
key String
Identify the presence, typically a userId.
final
metas List<PhoenixPresenceMeta>
A list of all events metadatas for this Presence key.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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