copyWith method
Implementation
CodeLinePosition copyWith({
int? index,
int? offset,
TextAffinity? affinity
}) {
return CodeLinePosition(
index: index ?? this.index,
offset: offset ?? this.offset,
affinity: affinity ?? this.affinity,
);
}