sendRequestToCortex method

  1. @override
Future<void> sendRequestToCortex(
  1. String command
)
override

Implementation

@override
Future<void> sendRequestToCortex(String command) async {
  try {
    return _channel
        .invokeMethod('sendRequest', <String, dynamic>{'command': command});
  } on PlatformException catch (e) {
    throw 'Unable to execute command $command, $e';
  }
}