copyWith method

WalletGetResponse copyWith({
  1. String? walletId,
  2. WalletBalance? balance,
  3. String? requestId,
})

Implementation

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