copyWith method

ChatRevenueAmount copyWith({
  1. String? cryptocurrency,
  2. int? totalAmount,
  3. int? balanceAmount,
  4. int? availableAmount,
  5. bool? withdrawalEnabled,
})

Implementation

ChatRevenueAmount copyWith({
  String? cryptocurrency,
  int? totalAmount,
  int? balanceAmount,
  int? availableAmount,
  bool? withdrawalEnabled,
}) => ChatRevenueAmount(
  cryptocurrency: cryptocurrency ?? this.cryptocurrency,
  totalAmount: totalAmount ?? this.totalAmount,
  balanceAmount: balanceAmount ?? this.balanceAmount,
  availableAmount: availableAmount ?? this.availableAmount,
  withdrawalEnabled: withdrawalEnabled ?? this.withdrawalEnabled,
);