UserStatus class

Provides values for user status.

Inheritance

Constructors

UserStatus.from(String value)

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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

Constants

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