ReqSubscribeListener subscribe(String path, dynamic callback(ValueUpdate update), [ int qos = 0 ])

Source

ReqSubscribeListener subscribe(String path, callback(ValueUpdate update),
    [int qos = 0]) {
  RemoteNode node = nodeCache.getRemoteNode(path);
  node._subscribe(this, callback, qos);
  return new ReqSubscribeListener(this, path, callback);
}