copyWith method
Implementation
UserDTO copyWith(
{UserLinkDTO? links,
String? accountId,
bool? active,
String? displayName,
String? emailAddress,
String? key,
String? name,
String? timeZone}) {
return UserDTO(
links: links ?? this.links,
accountId: accountId ?? this.accountId,
active: active ?? this.active,
displayName: displayName ?? this.displayName,
emailAddress: emailAddress ?? this.emailAddress,
key: key ?? this.key,
name: name ?? this.name,
timeZone: timeZone ?? this.timeZone,
);
}