setColor method

EmbedBuilder setColor(
  1. Color color
)

Set the color field and return this

final embed = EmbedBuilder()
  .setColor(Color.cyan_600);

Or with your custom color

final embed = EmbedBuilder()
  .setColor(Color('#FFFFFF'));

Implementation

EmbedBuilder setColor (Color color) {
  this.color = color;
  return this;
}