copyWith method

UpdateTermsOfService copyWith({
  1. String? termsOfServiceId,
  2. TermsOfService? termsOfService,
})

Implementation

UpdateTermsOfService copyWith({
  String? termsOfServiceId,
  TermsOfService? termsOfService,
}) =>
    UpdateTermsOfService(
      termsOfServiceId: termsOfServiceId ?? this.termsOfServiceId,
      termsOfService: termsOfService ?? this.termsOfService,
    );