importJson method

EmbedFieldBuilder importJson(
  1. RawApiMap raw
)

Returns a EmbedFieldBuilder with data from the raw json

Implementation

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