sendMessage method

Message sendMessage(
  1. String target,
  2. String body,
  3. Map<String, dynamic>? options
)

Send a message.

-param {String} target -param {String} body -param {Object} options

-throws {TypeError}

Implementation

Message sendMessage(
    String target, String body, Map<String, dynamic>? options) {
  logger.debug('sendMessage()');
  Message message = Message(this);
  message.send(target, body, options);
  return message;
}