clone property

Line get clone

Creates a deep copy of the current Line instance.

Implementation

Line get clone => Line(fragments: <TextFragment>[..._fragments]);