sendMessage method

  1. @override
Future<String?> sendMessage({
  1. required String conversationId,
  2. required String message,
})
override

Send message #

Implementation

@override
Future<String?> sendMessage(
    {required String conversationId, required String message}) async {
  final String? result = await methodChannel.invokeMethod<String>(
      'sendMessage', {"conversationId": conversationId, "message": message});
  return result ?? "";
}