MessageItem class

Used to allow persistence of a message from ChatGPT.

Annotations

Constructors

MessageItem({required String message, required bool isBot, Id? id})
Initialise this object.

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
id ↔ Id?
Used for database purposes.
read / write
isBot → bool
True if bot, false if user.
final
message → String
Message to show for this item.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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