copyWith method

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

Implementation

WalletTransactionListResponse copyWith(
    {List<WalletTransaction>? transactions,
    String? nextCursor,
    String? requestId}) {
  return WalletTransactionListResponse(
      transactions: transactions ?? this.transactions,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}