UserStatusManager class
Manager quản lý trạng thái người dùng
Constructors
- UserStatusManager()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Dọn dẹp tài nguyên
-
monitorStatus(
String userId) → Stream< String> - Đăng ký theo dõi trạng thái
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateLastSeen(
) → void - Cập nhật thời gian hoạt động
-
updateStatus(
UserStatusType type, {String? customMessage, bool forceUpdate = false}) → Future< void> - Cập nhật trạng thái
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited