copyWith method

StarRevenueStatus copyWith({
  1. StarAmount? totalAmount,
  2. StarAmount? currentAmount,
  3. StarAmount? availableAmount,
  4. bool? withdrawalEnabled,
  5. int? nextWithdrawalIn,
})

Implementation

StarRevenueStatus copyWith({
  StarAmount? totalAmount,
  StarAmount? currentAmount,
  StarAmount? availableAmount,
  bool? withdrawalEnabled,
  int? nextWithdrawalIn,
}) => StarRevenueStatus(
  totalAmount: totalAmount ?? this.totalAmount,
  currentAmount: currentAmount ?? this.currentAmount,
  availableAmount: availableAmount ?? this.availableAmount,
  withdrawalEnabled: withdrawalEnabled ?? this.withdrawalEnabled,
  nextWithdrawalIn: nextWithdrawalIn ?? this.nextWithdrawalIn,
);