copyWith method
Implementation
TradeLicense copyWith({
String? type,
String? license,
String? legalForm,
String? endDate
}) {
return TradeLicense(
type: type ?? this.type,
license: license ?? this.license,
legalForm: legalForm ?? this.legalForm,
endDate: endDate ?? this.endDate
);
}