ListItem constructor
Implementation
ListItem({required this.bulletType, required this.indexList, List<FNode>? children})
: children = children ?? [Paragraph()], // Default: an empty paragraph
super(nanoid());
ListItem({required this.bulletType, required this.indexList, List<FNode>? children})
: children = children ?? [Paragraph()], // Default: an empty paragraph
super(nanoid());