copyWithWrapped method

WalletListResponse copyWithWrapped({
  1. Wrapped<List<Wallet>>? wallets,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WalletListResponse copyWithWrapped(
    {Wrapped<List<Wallet>>? wallets,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WalletListResponse(
      wallets: (wallets != null ? wallets.value : this.wallets),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}