ContactChatMessage class
Represents a contact shared in a chat message.
Constructors
-
ContactChatMessage({required String contactName, required List<
String> contactPhoneNumbers, required List<bool> isChatAppUser, required String messageId}) - Constructs an instance of ContactChatMessage.
-
ContactChatMessage.fromJson(Map<
String, dynamic> json) -
Creates a ContactChatMessage instance from a JSON map.
factory
Properties
- contactName ↔ String
-
The name of the contact.
getter/setter pair
-
contactPhoneNumbers
↔ List<
String> -
The phone numbers of the contact.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isChatAppUser
↔ List<
bool> -
Indicates if the contact is a user of the chat app.
getter/setter pair
- messageId ↔ String
-
The unique identifier of the message.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ContactChatMessage instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited