PrettyElement constructor
PrettyElement(
- String type, {
- required List<
PrettyNode> children, - required List<
PrettyMarker> markers, - required Map<
String, String> attributes, - required SourceLocation start,
- required SourceLocation end,
- required bool isBlock,
- required SiblingPosition position,
Implementation
PrettyElement(
this.type, {
required this.children,
required this.markers,
required this.attributes,
required this.start,
required this.end,
required this.isBlock,
required this.position,
}) : lineEndings = [];