MdcDocument constructor
MdcDocument({})
Creates an immutable document.
Implementation
MdcDocument({
Iterable<MdcNode> nodes = const <MdcNode>[],
Map<String, Object?> frontmatter = const <String, Object?>{},
}) : nodes = List<MdcNode>.unmodifiable(nodes),
frontmatter = _freezeMap(frontmatter);