ChatEntry class

A message in the list; streaming while its text still grows.

Constructors

ChatEntry({required ChatRole role, required String text, bool streaming = false, ChatFigures? figures})
const

Properties

figures → ChatFigures?
final
hashCode → int
The hash code for this object.
no setterinherited
role → ChatRole
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streaming → bool
final
text → String
final

Methods

copyWith({String? text, bool? streaming, ChatFigures? figures}) → ChatEntry
The same message with more text, a finished state or its figures.
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