Conversation class
Constructors
-
Conversation({String? id, DateTime? createdAt, Map<
String, String> ? metadata}) -
Conversation.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createdAt ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
-
messages
↔ List<
Message> -
getter/setter pair
-
metadata
↔ Map<
String, String> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
getter/setter pair
- updatedAt → DateTime?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordUpdate(
) → bool - Updates the last update date if the day stored currently is more than 5 minutes old compared to now.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited