sendTextMessage static method

Future<String?> sendTextMessage(
  1. String body,
  2. String channelId
)

Implementation

static Future<String?> sendTextMessage(
  String body, String channelId
    ) async {
  final String result = await _channel.invokeMethod(
    'sendTextMessage',
      <String, dynamic>{'msg_body': body, 'channel_id': channelId});
  return result;
}