BlockContent constructor

BlockContent({
  1. List<RichTextObject> richText = const [],
  2. String? language,
  3. bool? checked,
  4. String? icon,
  5. String? color,
  6. String? url,
  7. String? caption,
  8. String? altText,
  9. String? embedUrl,
  10. List<List<RichTextObject>> cells = const [],
  11. String? expression,
})

Returns a new BlockContent instance.

Implementation

BlockContent({
  this.richText = const [],
  this.language,
  this.checked,
  this.icon,
  this.color,
  this.url,
  this.caption,
  this.altText,
  this.embedUrl,
  this.cells = const [],
  this.expression,
});