QChatChannelRole class Null safety

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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

Properties

channelId int?
频道id
read / write
createTime int?
创建时间
read / write
ext String?
身份组扩展字段
read / write
hashCode int
The hash code for this object.
read-only, inherited
icon String?
身份组图标url
read / write
name String?
身份组名称
read / write
parentRoleId int?
继承服务器的身份组id
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