Paragraph.sealed constructor
- @visibleForTesting
- required List<
Line> lines, - required ParagraphType type,
- Map<
String, dynamic> ? blockAttributes,
Implementation
@visibleForTesting
Paragraph.sealed({
required List<Line> lines,
required this.type,
this.blockAttributes,
}) : _lines = List<Line>.from(lines),
id = nanoid(8),
_sealed = true;