Message class

Constructors

Message({String? messageId, required DateTime date, required String text, required SenderType sender, String? threadId})
Message.fromMap(Map<String, dynamic> map)
factory

Properties

date DateTime
final
hashCode int
The hash code for this object.
no setterinherited
messageId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender SenderType
final
text String
getter/setter pair
threadId String?
getter/setter pair
toGptMap Map<String, dynamic>
no setter

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