QChatCreateServerRoleParam class Null safety

Inheritance
Annotations

Constructors

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

Properties

antiSpamConfig QChatAntiSpamConfig?
反垃圾配置
@JsonKey(fromJson: antiSpamConfigFromJson), read / write, inherited
extension String?
身份组扩展字段
read / write
hashCode int
The hash code for this object.
read-only, inherited
icon String?
身份组图片url
read / write
name String
身份组名称
final
priority int?
身份组优先级,everyone最低为0,数字越大优先级越高
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serverId int
服务器id
final
type QChatRoleType
身份组类型,详细见QChatRoleType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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