build method
Builds object to Map() instance;
Implementation
@override
/// Builds object to Map() instance;
RawApiMap build() {
if (text != null && length! > 2048) {
throw EmbedBuilderArgumentException("Footer text is too long. (1024 characters limit)");
}
return <String, dynamic>{if (text != null) "text": text, if (iconUrl != null) "icon_url": iconUrl};
}