copyWith method
Doesn't support setting null values for the properties.
Implementation
ContactFolder copyWith({
String? displayName,
String? id,
String? parentFolderId,
}) {
return ContactFolder(
displayName: displayName ?? this.displayName,
id: id ?? this.id,
parentFolderId: parentFolderId ?? this.parentFolderId,
);
}