copyWithWrapped method

WalletTransactionListResponse copyWithWrapped({
  1. Wrapped<List<WalletTransaction>>? transactions,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WalletTransactionListResponse copyWithWrapped(
    {Wrapped<List<WalletTransaction>>? transactions,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WalletTransactionListResponse(
      transactions:
          (transactions != null ? transactions.value : this.transactions),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}