copyWithWrapped method

TransferCreateResponse copyWithWrapped({
  1. Wrapped<Transfer>? transfer,
  2. Wrapped<String>? requestId,
})

Implementation

TransferCreateResponse copyWithWrapped(
    {Wrapped<Transfer>? transfer, Wrapped<String>? requestId}) {
  return TransferCreateResponse(
      transfer: (transfer != null ? transfer.value : this.transfer),
      requestId: (requestId != null ? requestId.value : this.requestId));
}