ChatMessage class
Constructors
-
ChatMessage({required String id, required ChatUser user, required DateTime createdAt, MessageType messageType = MessageType.text, String? text, String? image, MessageImageLocation? imageLocation, Map<
String, dynamic> ? customProperties})
Properties
- createdAt → DateTime
-
final
-
customProperties
↔ Map<
String, dynamic> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- image → String?
-
final
- imageLocation → MessageImageLocation?
-
final
- messageType → MessageType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
final
- user → ChatUser
-
final
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