DiscordOverwrite class

Constructors

DiscordOverwrite({required DiscordSnowflake id, required int type, required String allow, required String deny})
DiscordOverwrite.fromJson(Map<String, dynamic> json)
factory

Properties

allow String
Permission bit set (see permissions)
final
deny String
Permission bit set (see permissions)
final
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake
role or user id
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
0 = role, 1 = member
final

Methods

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

Operators

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

Constants

allowEntry → const String
denyEntry → const String
idEntry → const String
typeEntry → const String