UserData class

Constructors

UserData.fromJson(Map<String, dynamic> json)

Properties

availabilityText → String?
The default message a user sees when starting a chat with this person.
finalinherited
custom → Map<String, String?>?
Custom metadata for this user.
finalinherited
email → List<String>?
One or more email address belonging to this user.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique user identifier.
finalinherited
locale → String?
The language on the UI.
finalinherited
name → String
This user's name which will be displayed on the TalkJS UI
finalinherited
phone → List<String>?
One or more phone numbers belonging to this user.
finalinherited
photoUrl → String?
An optional URL to a photo which will be displayed as this user's avatar
finalinherited
role → String?
This user's role which allows you to change the behaviour of TalkJS for different users.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
welcomeMessage → String?
The default message a user sees when starting a chat with this person.
finalinherited

Methods

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