copyWith method

CodeLineEditingValue copyWith({
  1. CodeLines? codeLines,
  2. CodeLineSelection? selection,
  3. TextRange? composing,
})

Implementation

CodeLineEditingValue copyWith({
  CodeLines? codeLines,
  CodeLineSelection? selection,
  TextRange? composing,
}) {
  return CodeLineEditingValue(
    codeLines: codeLines ?? this.codeLines,
    selection: selection ?? this.selection,
    composing: composing ?? this.composing
  );
}