operator == method
Returns true if all items in this contact are identical.
Implementation
@override
bool operator ==(Object other) {
return other is Contact &&
this.keys == other.keys &&
this.identifier == other.identifier &&
this.company == other.company &&
this.displayName == other.displayName &&
this.givenName == other.givenName &&
this.familyName == other.familyName &&
this.jobTitle == other.jobTitle &&
this.middleName == other.middleName &&
this.note == other.note &&
this.prefix == other.prefix &&
this.suffix == other.suffix &&
this.lastModified == other.lastModified &&
DeepCollectionEquality.unordered().equals(this.phones, other.phones) &&
DeepCollectionEquality.unordered()
.equals(this.socialProfiles, other.socialProfiles) &&
DeepCollectionEquality.unordered().equals(this.urls, other.urls) &&
DeepCollectionEquality.unordered().equals(this.dates, other.dates) &&
DeepCollectionEquality.unordered().equals(this.emails, other.emails) &&
DeepCollectionEquality.unordered()
.equals(this.postalAddresses, other.postalAddresses);
}