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.
no setteroverride
isOnline bool
Returns if user is online
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Returns value of enum
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 ==(dynamic other) bool
The equality operator.
override

Constants

dnd → const UserStatus
idle → const UserStatus
offline → const UserStatus
online → const UserStatus