setFooter method

EmbedBuilder setFooter({
  1. required String text,
  2. String? iconUrl,
  3. String? proxyIconUrl,
})

Set the footer field and return this

final embed = EmbedBuilder()
  .setFooter(text: 'My title');

Implementation

EmbedBuilder setFooter ({ required String text, String? iconUrl, String? proxyIconUrl }) {
  footer = EmbedFooter(text: text, iconUrl: iconUrl, proxyIconUrl: proxyIconUrl);
  return this;
}