copyWith method
- bool? hasServiceAgreement,
- DateTime? beginDate,
- ServiceAgreementTerm? term,
- int? termMonths,
- int? termDays,
Implementation
ServiceAgreementFormData copyWith({
bool? hasServiceAgreement,
DateTime? beginDate,
ServiceAgreementTerm? term,
int? termMonths,
int? termDays,
}) {
return ServiceAgreementFormData(
hasServiceAgreement: hasServiceAgreement ?? this.hasServiceAgreement,
beginDate: beginDate ?? this.beginDate,
term: term ?? this.term,
termMonths: termMonths ?? this.termMonths,
termDays: termDays ?? this.termDays,
);
}