copyWith method

  1. @override
UpdateTermsOfService copyWith({
  1. String? termsOfServiceId,
  2. TermsOfService? termsOfService,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateTermsOfService copyWith({
  String? termsOfServiceId,
  TermsOfService? termsOfService,
  dynamic extra,
  int? clientId,
}) =>
    UpdateTermsOfService(
      termsOfServiceId: termsOfServiceId ?? this.termsOfServiceId,
      termsOfService: termsOfService ?? this.termsOfService,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );