copyWith method
Создает экземпляр с заданными параметрами
Implementation
@override
AddCustomerRequest copyWith({
String? customerKey,
String? email,
String? phone,
String? ip,
String? signToken,
}) {
return AddCustomerRequest(
customerKey: customerKey ?? this.customerKey,
email: email ?? this.email,
phone: phone ?? this.phone,
ip: ip ?? this.ip,
signToken: signToken ?? this.signToken,
);
}