clone property
Paragraph
get
clone
Creates a clone of the current paragraph.
Returns a new Paragraph instance with identical lines, block attributes, and type.
Implementation
Paragraph get clone {
return Paragraph(
lines: [...lines],
blockAttributes: blockAttributes == null ? null : {...blockAttributes!},
type: type);
}