removeMessage method
- int id
Removes the last message from the log for the ReaderChatgptSource.
Implementation
void removeMessage(int id) {
_database.writeTxnSync(() {
_database.messageItems.deleteSync(id);
});
}
Removes the last message from the log for the ReaderChatgptSource.
void removeMessage(int id) {
_database.writeTxnSync(() {
_database.messageItems.deleteSync(id);
});
}