deleteMessage method
Removes/Updates the message
based on the hardDelete
value.
Implementation
void deleteMessage(Message message, {bool hardDelete = false}) {
if (hardDelete) return removeMessage(message);
return updateMessage(message);
}
Removes/Updates the message
based on the hardDelete
value.
void deleteMessage(Message message, {bool hardDelete = false}) {
if (hardDelete) return removeMessage(message);
return updateMessage(message);
}