build method
Returns built response for api
Implementation
@override
RawApiMap build() => {
"label": this.label,
"value": this.value,
"default": this.isDefault,
if (this.emoji != null) "emoji": {
if (this.emoji is IGuildEmoji) "id": (this.emoji as IGuildEmoji).id,
if (this.emoji is UnicodeEmoji) "name": (this.emoji as UnicodeEmoji).code,
if (this.emoji is GuildEmoji) "animated": (this.emoji as GuildEmoji).animated,
},
if (description != null) "description": this.description,
};