RoleTags class

Constructors

RoleTags({String? botId, String? integrationId, required bool premiumSubscriber})
Constructor
RoleTags.fromJson(Map<String, dynamic> json)
From json
factory

Properties

botId String?
the id of the bot this role belongs to
final
hashCode int
The hash code for this object.
no setterinherited
integrationId String?
the id of the integration this role belongs to
final
premiumSubscriber bool
whether this is the guild's premium subscriber role
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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