UserStatus class Null safety
Provides values for user status.
Constructors
- UserStatus.from(String? value)
-
Creates instance of UserStatus from
value
.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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")