copy method
Creates a copy of this Editor instance with a new list of points. This avoids modifying the original data directly.
Implementation
Editor copy() => Editor([...points]);
Creates a copy of this Editor instance with a new list of points. This avoids modifying the original data directly.
Editor copy() => Editor([...points]);