copyWith method

WalletGetResponse copyWith({
  1. String? requestId,
  2. String? walletId,
  3. WalletBalance? balance,
  4. WalletNumbers? numbers,
  5. String? recipientId,
})

Implementation

WalletGetResponse copyWith(
    {String? requestId,
    String? walletId,
    WalletBalance? balance,
    WalletNumbers? numbers,
    String? recipientId}) {
  return WalletGetResponse(
      requestId: requestId ?? this.requestId,
      walletId: walletId ?? this.walletId,
      balance: balance ?? this.balance,
      numbers: numbers ?? this.numbers,
      recipientId: recipientId ?? this.recipientId);
}