copyWith method

TermsOfService copyWith({
  1. FormattedText? text,
  2. int? minUserAge,
  3. bool? showPopup,
})

Implementation

TermsOfService copyWith({
  FormattedText? text,
  int? minUserAge,
  bool? showPopup,
}) => TermsOfService(
  text: text ?? this.text,
  minUserAge: minUserAge ?? this.minUserAge,
  showPopup: showPopup ?? this.showPopup,
);