copyWith method
UpdateTermsOfService
copyWith({
- String? termsOfServiceId,
- TermsOfService? termsOfService,
- dynamic extra,
- int? clientId,
override
Copy model with modified properties.
Properties:
terms_of_service_id: Identifier of the terms of serviceterms_of_service: The new terms of service
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,
);