PhoenixPresence class Null safety

Constructors

PhoenixPresence(PhoenixChannel? channel, {Map<String, dynamic>? opts})

Properties

caller ↔ _PresenceCallers
read / write
channel PhoenixChannel?
read / write
events PresenceEvents
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inPendingSyncState → dynamic
read-only
joinRef String?
read / write
opts Map<String, dynamic>?
read / write
pendingDiffs List
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state Map<String, Map<String, dynamic>>?
read / write

Methods

list({Function? by = null}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onJoin(dynamic callback(dynamic key, dynamic currentPresence, dynamic newPresence)) → dynamic
onLeave(dynamic callback(dynamic key, dynamic currentPresence, dynamic newPresence)) → dynamic
onSync(dynamic callback()) → dynamic
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

clone(dynamic object) → dynamic
syncDiff(dynamic currentState, dynamic diffs, dynamic onJoinCallback, dynamic onLeaveCallback) → dynamic
syncState(dynamic currentState, dynamic newState, dynamic onJoinCallback, dynamic onLeaveCallback) → dynamic