QChatUnreadInfo class Null safety
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- QChatUnreadInfo({required int channelId, required int serverId, int? maxCount, int? mentionedCount, int? unreadCount})
-
QChatUnreadInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channelId ↔ int
-
获取channelId
read / write
- 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