copyWith method

ValuePropDeclineInfo copyWith({
  1. DateTime? lastDeclineTime,
  2. int? declineCount,
})

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,
  );
}