copyWith method
StarRevenueStatus
copyWith({
- StarAmount? totalAmount,
- StarAmount? currentAmount,
- StarAmount? availableAmount,
- bool? withdrawalEnabled,
- 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,
);