EmbedBuilder class
Methods
-
addField({required String name, required String value, bool? inline})
→ EmbedBuilder
-
Add an field into fields and return this
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAuthor({required String name, String? url, String? iconUrl, String? proxyIconUrl})
→ EmbedBuilder
-
Set the author field and return this
-
setColor(Color color)
→ EmbedBuilder
-
Set the
color
field and return this
-
setDescription(String value)
→ EmbedBuilder
-
Set the description field and return this
-
Set the footer field and return this
-
setImage({required String url, String? proxyUrl, int? width, int? height})
→ EmbedBuilder
-
Set the image field and return this
-
setThumbnail({required String url, String? proxyUrl, int? width, int? height})
→ EmbedBuilder
-
Set the thumbnail field and return this
-
setTimestamp({DateTime? dateTime})
→ EmbedBuilder
-
Set the timestamp field and return this
-
setTitle(String value)
→ EmbedBuilder
-
Set the title field and return this
-
setUrl(String url)
→ EmbedBuilder
-
Set the
url
field and return this
-
toJson()
→ Object
-
-
toString()
→ String
-
A string representation of this object.
inherited