sendMessage method

Future<void> sendMessage(
  1. String? message
)

Implementation

Future<void> sendMessage(String? message) async {
  await setChatHistory(Message(
      id: '${currentAtSign}_${DateTime.now().millisecondsSinceEpoch}',
      message: message,
      sender: currentAtSign,
      time: DateTime.now().millisecondsSinceEpoch,
      type: MessageType.outgoing));
}