sendChatMessage method

Future<void> sendChatMessage(
  1. String message
)

Sends message to the chat. Parameter message message to be send, max length allowed is 4096 characters

Await the returned Future for the native response and to catch errors.

Implementation

Future<void> sendChatMessage(String message) async {
  final Map<String, dynamic> args = <String, dynamic>{};
  args['message'] = message;
  await _channel.invokeMethod('sendChatMessage', args);
}