copyWith method

TransferUserInResponse copyWith({
  1. String? legalName,
  2. String? phoneNumber,
  3. String? emailAddress,
  4. TransferUserAddressInResponse? address,
})

Implementation

TransferUserInResponse copyWith(
    {String? legalName,
    String? phoneNumber,
    String? emailAddress,
    TransferUserAddressInResponse? address}) {
  return TransferUserInResponse(
      legalName: legalName ?? this.legalName,
      phoneNumber: phoneNumber ?? this.phoneNumber,
      emailAddress: emailAddress ?? this.emailAddress,
      address: address ?? this.address);
}