disconnect method

Future disconnect()

Implementation

Future<dynamic> disconnect() {
  if (_channel == null) {
    return Future.value(false);
  }
  return _channel!.sink.close();
}