UserStatus class

Provides values for user status.

Inheritance

Constructors

UserStatus.from(String? value)
Creates instance of UserStatus from value.

Properties

hashCode int
The hash code for this object.
read-onlyoverride
isOnline bool
Returns if user is online
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value String
Returns value of enum
read-onlyinherited

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 ==(dynamic other) bool
The equality operator.
override

Constants

dnd → const UserStatus
UserStatus._create("dnd")
idle → const UserStatus
UserStatus._create("idle")
offline → const UserStatus
UserStatus._create("offline")
online → const UserStatus
UserStatus._create("online")