Future<Reply> sendevent(String eventName, {int timeoutSeconds: 10})

Send an event into the event system (multi line input for headers)

Source

Future<Reply> sendevent(String eventName, {int timeoutSeconds: 10}) =>
    _subscribeAndSendCommand(
        'sendevent $eventName', new Duration(seconds: timeoutSeconds));