saveMessage method
Implementation
@override
Future<void> saveMessage(DOOMessage message) async {
_messages.update(message.id, (value) => message, ifAbsent: () => message);
}
@override
Future<void> saveMessage(DOOMessage message) async {
_messages.update(message.id, (value) => message, ifAbsent: () => message);
}