sendMessage method Null safety

Future<void> sendMessage(
  1. String message
)

send message to the room and the pass the message.

Implementation

Future<void> sendMessage(String message) async {
  return await PlatformService.invokeMethod(PlatformMethod.sendMessage,
      arguments: {"message": message});
}