operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Returns true if all items in this contact are identical.

Implementation

@override
bool operator ==(Object other) =>
    other is Contact &&
    avatar == other.avatar &&
    company == other.company &&
    displayName == other.displayName &&
    givenName == other.givenName &&
    familyName == other.familyName &&
    identifier == other.identifier &&
    jobTitle == other.jobTitle &&
    androidAccountType == other.androidAccountType &&
    androidAccountName == other.androidAccountName &&
    middleName == other.middleName &&
    prefix == other.prefix &&
    suffix == other.suffix &&
    birthday == other.birthday &&
    const DeepCollectionEquality.unordered().equals(phones, other.phones) &&
    const DeepCollectionEquality.unordered().equals(emails, other.emails) &&
    const DeepCollectionEquality.unordered()
        .equals(postalAddresses, other.postalAddresses);