importJson method

EmbedFieldBuilder importJson(
  1. RawApiMap raw
)

Returns a EmbedFieldBuilder with data from the raw json

Implementation

EmbedFieldBuilder importJson(RawApiMap raw) {
  this.name = raw["name"];
  this.content = raw["value"];
  this.inline = raw["inline"] as bool?;
  return this;
}