copyWithWrapped method

BankTransferEventSyncResponse copyWithWrapped({
  1. Wrapped<List<BankTransferEvent>>? bankTransferEvents,
  2. Wrapped<String>? requestId,
})

Implementation

BankTransferEventSyncResponse copyWithWrapped(
    {Wrapped<List<BankTransferEvent>>? bankTransferEvents,
    Wrapped<String>? requestId}) {
  return BankTransferEventSyncResponse(
      bankTransferEvents: (bankTransferEvents != null
          ? bankTransferEvents.value
          : this.bankTransferEvents),
      requestId: (requestId != null ? requestId.value : this.requestId));
}