Document constructor

Document({
  1. String? title,
  2. String? description,
  3. List<ContentItem>? items,
  4. LayoutConfiguration<ContentItem>? layout,
  5. List<ContentModifierConfiguration>? modifiers,
})

Creates a new document with the given title, description, and content.

Implementation

Document({
  this.title,
  this.description,
  this.items,
  super.layout,
  super.modifiers,
}) : super(schemaType: schemaName);