setFooter method Null safety

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

Example :

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

Implementation

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