setTitle method

EmbedBuilder setTitle(
  1. String value
)

Set the title field and return this

Example :

final embed = EmbedBuilder()
  .setTitle('My title');

Implementation

EmbedBuilder setTitle (String value) {
  title = value;
  return this;
}