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