DiscordClientStatus class

active sessions are indicated with an "online", "idle", or "dnd" string per platform. If a user is offline or invisible, the corresponding field is not present.

Constructors

DiscordClientStatus({String? desktop, String? mobile, String? web})
DiscordClientStatus.fromJson(Map<String, dynamic> json)
factory

Properties

desktop String?
the user's status set for an active desktop (Windows, Linux, Mac) application session
final
desktopAsEnum DiscordStatus?
no setter
hashCode int
The hash code for this object.
no setterinherited
mobile String?
the user's status set for an active mobile (iOS, Android) application session
final
mobileAsEnum DiscordStatus?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
web String?
the user's status set for an active web (browser, bot account) application session
final
webAsEnum DiscordStatus?
no setter

Methods

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

Constants

desktopEntry → const String
mobileEntry → const String
webEntry → const String