addField method
void
addField({
- dynamic name,
- dynamic content,
- bool inline = false,
- dynamic builder(
- EmbedFieldBuilder field
- EmbedFieldBuilder? field,
Adds field to embed. name
and content
fields are required. Inline is set to false by default.
Implementation
void addField({dynamic name, dynamic content, bool inline = false, Function(EmbedFieldBuilder field)? builder, EmbedFieldBuilder? field}) {
fields.add(_constructEmbedFieldBuilder(name: name, content: content, builder: builder, field: field, inline: inline));
}