copyWith method

InputPageBlockPreformatted copyWith({
  1. RichText? text,
  2. String? language,
})

Implementation

InputPageBlockPreformatted copyWith({RichText? text, String? language}) =>
    InputPageBlockPreformatted(
      text: text ?? this.text,
      language: language ?? this.language,
    );