GetPresenceResponse class

Constructors

GetPresenceResponse({bool? currentlyActive, int? lastActiveAgo, required PresenceType presence, String? statusMsg})
GetPresenceResponse.fromJson(Map<String, Object?> json)

Properties

currentlyActive ↔ bool?
Whether the user is currently active
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
lastActiveAgo ↔ int?
The length of time in milliseconds since an action was performed by this user.
getter/setter pair
presence ↔ PresenceType
This user's presence.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusMsg ↔ String?
The state message for this user if one was set.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override