copyWith method
Creates a copy of this ValuePropDeclineInfo with the given fields replaced.
Implementation
ValuePropDeclineInfo copyWith({
DateTime? lastDeclineTime,
int? declineCount,
}) {
return ValuePropDeclineInfo(
lastDeclineTime: lastDeclineTime ?? this.lastDeclineTime,
declineCount: declineCount ?? this.declineCount,
);
}