copyWith method
ChatRevenueTransactionTypeFragmentWithdrawal
copyWith({
- int? withdrawalDate,
- RevenueWithdrawalState? state,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
ChatRevenueTransactionTypeFragmentWithdrawal copyWith({
int? withdrawalDate,
RevenueWithdrawalState? state,
}) => ChatRevenueTransactionTypeFragmentWithdrawal(
withdrawalDate: withdrawalDate ?? this.withdrawalDate,
state: state ?? this.state,
);