Richable.embed constructor

const Richable.embed({
  1. @JsonKey(name: 'oembed') required EmbedData info,
  2. required String type,
})

RichableEmbed model

Represents an embed element inside RichText

Implementation

const factory Richable.embed({
  @JsonKey(name: 'oembed') required EmbedData info,
  required String type,
}) = RichableEmbed;