RealtimePresenceLeavePayload class
Payload for PresenceEvent.leave callback.
- Inheritance
-
- Object
- RealtimePresencePayload
- RealtimePresenceLeavePayload
Constructors
-
RealtimePresenceLeavePayload({required PresenceEvent event, required String key, required List<
Presence> currentPresences, required List<Presence> leftPresences}) -
RealtimePresenceLeavePayload.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
currentPresences
→ List<
Presence> -
List of currently present presences.
final
- event → PresenceEvent
-
Name of the presence event.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
Unique identifier for the clients.
final
-
leftPresences
→ List<
Presence> -
List of presences that left in the callback.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited