clone property

Paragraph get clone

Creates a clone of the current paragraph.

Implementation

Paragraph get clone {
  return Paragraph(
    lines: [..._lines],
    blockAttributes: blockAttributes == null ? null : {...blockAttributes!},
    type: type,
  );
}