QChatCheckPermissionsParam class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatCheckPermissionsParam(int serverId, List<QChatRoleResource>? permissions, [int? channelId])
QChatCheckPermissionsParam.fromJson(Map<String, dynamic> json)
factory

Properties

channelId int?
频道Id,查询 server 权限时不需要传channelId
final
hashCode int
The hash code for this object.
no setterinherited
permissions List<QChatRoleResource>?
身份组权限资源项列表,一次最多可查10个权限项
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId int
服务器Id,必填
final

Methods

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