ChatUser class
ChatUser used to show distinguish between different people in a chat conversation or a chat group
Constructors
Properties
- avatar ↔ String?
-
An
optional
parameter to set the user avatar.getter/setter pair - color ↔ Color?
-
An
optional
parameter to set Text Colorgetter/setter pair - containerColor ↔ Color?
-
An
optional
parameter to set The Message bubble Colorgetter/setter pair -
customProperties
↔ Map<
String, dynamic> ? -
Allows to set custom-properties that could help with implementing custom
functionality to dashchat.
getter/setter pair
- firstName ↔ String?
-
An
optional
parameter to set the user first name, if set will override the name property.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- lastName ↔ String?
-
An
optional
parameter to set the user last name, if set will override the name property.getter/setter pair - name ↔ String?
-
An
optional
parameter to set the user name.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid ↔ String?
-
Unique id of the user if no unique is provided a
UUID v4
is automatically assigned to the chat user.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited