Selection copyWith({Position? start, Position? end}) { return Selection( start: start ?? this.start, end: end ?? this.end, ); }