QChatServerUnreadInfo class Null safety
未读信息
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- QChatServerUnreadInfo({required int serverId, int? unreadCount, int? mentionedCount, int? maxCount})
-
QChatServerUnreadInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- maxCount ↔ int?
-
获取最大未读数
read / write
- mentionedCount ↔ int?
-
获取@的未读数
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serverId ↔ int
-
获取serverId
read / write
- unreadCount ↔ int?
-
获取未读数
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited