info method

Future info()

Implementation

Future info() {
  final id = _generateId();
  final completer = Completer();
  _ws.ready.then((_) {
    once(id, (res) => _result(res, completer));
    _send(id, 'info');
  });
  return completer.future;
}