ChatMessage class
Constructors
Properties
- 
  citations
  → List<Map< ?String, dynamic> >
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isUser → bool
- 
  
  final
- isWaiting → bool
- 
  
  final
- message → String
- 
  
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- threadId → String?
- 
  
  final
- timestamp → DateTime?
- 
  
  final
- type → String
- 
  
  final
Methods
- 
  copyWith({String? message, bool? isUser, bool? isWaiting, DateTime? timestamp, String? type, Object? threadId = const Object(), Object? citations = const Object(), bool? clearCitations}) → ChatMessage 
- Create a copy of this message with updated fields
- 
  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