Document<T> constructor

const Document<T>({
  1. required T frontmatter,
  2. required String body,
})

Implementation

const Document({required this.frontmatter, required this.body});