setMessage method
Set a message.
Messages are stored on CARP using the Message.id as the document name.
Implementation
@override
Future<void> setMessage(Message message) async {
_assertCarpService();
await CarpService()
.collection(MESSAGES_PATH)
.document(message.id)
.setData(message.toJson());
}