copyWith method

AttExplainerContent copyWith({
  1. String? title,
  2. String? description,
  3. String? footnote,
  4. String? continueLabel,
})

Returns a copy with the given fields replaced.

Implementation

AttExplainerContent copyWith({
  String? title,
  String? description,
  String? footnote,
  String? continueLabel,
}) => AttExplainerContent(
  title: title ?? this.title,
  description: description ?? this.description,
  footnote: footnote ?? this.footnote,
  continueLabel: continueLabel ?? this.continueLabel,
);