QChatCreateServerRoleParam class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatCreateServerRoleParam(int serverId, String name, QChatRoleType type, {String? icon, String? extension, int? priority})
QChatCreateServerRoleParam.fromJson(Map<String, dynamic> json)
factory

Properties

antiSpamConfig QChatAntiSpamConfig?
反垃圾配置
getter/setter pairinherited
extension String?
身份组扩展字段
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon String?
身份组图片url
getter/setter pair
name String
身份组名称
final
priority int?
身份组优先级,everyone最低为0,数字越小优先级越高
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId int
服务器id
final
type QChatRoleType
身份组类型,详细见QChatRoleType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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