copyWithWrapped method
Application
copyWithWrapped({
- Wrapped<
String> ? applicationId, - Wrapped<
String> ? name, - Wrapped<
String?> ? displayName, - Wrapped<
DateTime> ? joinDate, - Wrapped<
String?> ? logoUrl, - Wrapped<
String?> ? applicationUrl, - Wrapped<
String?> ? reasonForAccess, - Wrapped<
String?> ? useCase, - Wrapped<
String?> ? companyLegalName, - Wrapped<
String?> ? city, - Wrapped<
String?> ? region, - Wrapped<
String?> ? postalCode, - Wrapped<
String?> ? countryCode,
Implementation
Application copyWithWrapped(
{Wrapped<String>? applicationId,
Wrapped<String>? name,
Wrapped<String?>? displayName,
Wrapped<DateTime>? joinDate,
Wrapped<String?>? logoUrl,
Wrapped<String?>? applicationUrl,
Wrapped<String?>? reasonForAccess,
Wrapped<String?>? useCase,
Wrapped<String?>? companyLegalName,
Wrapped<String?>? city,
Wrapped<String?>? region,
Wrapped<String?>? postalCode,
Wrapped<String?>? countryCode}) {
return Application(
applicationId:
(applicationId != null ? applicationId.value : this.applicationId),
name: (name != null ? name.value : this.name),
displayName:
(displayName != null ? displayName.value : this.displayName),
joinDate: (joinDate != null ? joinDate.value : this.joinDate),
logoUrl: (logoUrl != null ? logoUrl.value : this.logoUrl),
applicationUrl: (applicationUrl != null
? applicationUrl.value
: this.applicationUrl),
reasonForAccess: (reasonForAccess != null
? reasonForAccess.value
: this.reasonForAccess),
useCase: (useCase != null ? useCase.value : this.useCase),
companyLegalName: (companyLegalName != null
? companyLegalName.value
: this.companyLegalName),
city: (city != null ? city.value : this.city),
region: (region != null ? region.value : this.region),
postalCode: (postalCode != null ? postalCode.value : this.postalCode),
countryCode:
(countryCode != null ? countryCode.value : this.countryCode));
}