copyWith method

  1. @override
ChatRevenueTransactionTypeFragmentWithdrawal copyWith({
  1. int? withdrawalDate,
  2. 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,
);