copyWith method

WalletBalance copyWith({
  1. String? isoCurrencyCode,
  2. double? current,
})

Implementation

WalletBalance copyWith({String? isoCurrencyCode, double? current}) {
  return WalletBalance(
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      current: current ?? this.current);
}