ChatContact class

Record in an address book of the authenticated MyUser.

It may be linked with some real Users, but also may not.

Implemented types

Constructors

ChatContact(ChatContactId id, {required UserName name, List<User>? users, List<Chat>? groups, List<UserPhone>? phones, List<UserEmail>? emails, ChatContactFavoritePosition? favoritePosition})

Properties

emails ↔ List<UserEmail>
List of UserEmails provided by this ChatContact.
getter/setter pair
favoritePosition ↔ ChatContactFavoritePosition?
Position of this ChatContact in a favorites list of the authenticated MyUser.
getter/setter pair
groups ↔ List<Chat>
Chat-groups linked to this ChatContact.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → ChatContactId
Unique ID of this ChatContact.
final
name ↔ UserName
Custom UserName of this ChatContact given by the authenticated MyUser.
getter/setter pair
phones ↔ List<UserPhone>
List of UserPhones provided by this ChatContact.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
users ↔ List<User>
Users linked to this ChatContact.
getter/setter pair

Methods

compareTo(ChatContact other) → int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited