copyWith method
- bool? hasServiceAgreement,
- DateTime? beginTimestamp,
- ServiceAgreementTermDTO? term,
- int? termMonths,
- int? termDays,
Implementation
ServiceAgreementDTO copyWith(
{bool? hasServiceAgreement,
DateTime? beginTimestamp,
enums.ServiceAgreementTermDTO? term,
int? termMonths,
int? termDays}) {
return ServiceAgreementDTO(
hasServiceAgreement: hasServiceAgreement ?? this.hasServiceAgreement,
beginTimestamp: beginTimestamp ?? this.beginTimestamp,
term: term ?? this.term,
termMonths: termMonths ?? this.termMonths,
termDays: termDays ?? this.termDays);
}