MarkdownElement constructor

const MarkdownElement(
  1. String type,
  2. SiblingPosition position, {
  3. required bool isBlock,
  4. List<MarkdownNode> children = const [],
  5. Map<String, String> attributes = const {},
})

Implementation

const MarkdownElement(
  this.type,
  this.position, {
  required this.isBlock,
  this.children = const [],
  this.attributes = const {},
});