disconnect static method

Future<void> disconnect()

Implementation

static Future<void> disconnect() async {
  try {
    await _channel.invokeMethod('disconnect');
  } on PlatformException catch (e) {
    print(e);
  }
}