QChatCreateChannelParam class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatCreateChannelParam({required int serverId, required String name, required QChatChannelType type, String? custom, String? topic, QChatVisitorMode? visitorMode, QChatChannelMode? viewMode})
QChatCreateChannelParam.fromJson(Map<String, dynamic> json)
factory

Properties

antiSpamConfig QChatAntiSpamConfig?
反垃圾配置
getter/setter pairinherited
custom String?
自定义扩展
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
名称,必填
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId int
服务器id,必填
final
topic String?
主题
getter/setter pair
type QChatChannelType
频道类型QChatChannelType,必填
final
viewMode QChatChannelMode?
查看模式
getter/setter pair
visitorMode QChatVisitorMode?
游客可见模式
getter/setter pair

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