copyWith method

FixedText copyWith({
  1. FormattedText? text,
  2. DiffText? diffText,
})

Implementation

FixedText copyWith({
  FormattedText? text,
  DiffText? diffText,
}) =>
    FixedText(
      text: text ?? this.text,
      diffText: diffText ?? this.diffText,
    );