QChatServerRole class Null safety

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatServerRole()
QChatServerRole.fromJson(Map<String, dynamic> json)
factory

Properties

createTime int?
创建时间
read / write
extension String?
身份组扩展字段
read / write
hashCode int
The hash code for this object.
read-only, inherited
icon String?
身份组图片url
read / write
memberCount int?
该身份组的成员数量,everyone身份组数量为-1
read / write
name String?
身份组名称
read / write
priority int?
身份组优先级,everyone最低为0,数字越小优先级越高
read / write
resourceAuths Map<QChatRoleResource, QChatRoleOption>?
表示哪些资源的权限
@JsonKey(fromJson: _resourceAuthsFromJsonNullable), read / write
roleId int?
身份组id
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serverId int?
服务器id
read / write
type QChatRoleType?
身份组类型,详细见QChatRoleType
read / write
updateTime 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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited