copyWith method

  1. @override
AddCustomerRequest copyWith({
  1. String? customerKey,
  2. String? email,
  3. String? phone,
  4. String? ip,
  5. String? signToken,
})
override

Создает экземпляр с заданными параметрами

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,
  );
}