copyWith method

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

Implementation

WalletListResponse copyWith(
    {List<Wallet>? wallets, String? nextCursor, String? requestId}) {
  return WalletListResponse(
      wallets: wallets ?? this.wallets,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}