Source
Future<Reply> divertEvents(bool on, {int timeoutSeconds: 10}) =>
_subscribeAndSendCommand('divert_events ${on ? 'on': 'off'}',
new Duration(seconds: timeoutSeconds));
Future<Reply> divertEvents(bool on, {int timeoutSeconds: 10}) =>
_subscribeAndSendCommand('divert_events ${on ? 'on': 'off'}',
new Duration(seconds: timeoutSeconds));