onStatus property

Stream<ServerStatus> onStatus

Reports the current status of the server. Parameters are omitted if there has been no change in the status represented by that parameter.

This notification is not subscribed to by default. Clients can subscribe by including the value "STATUS" in the list of services passed in a server.setSubscriptions request.

Implementation

Stream<ServerStatus> get onStatus {
  return _listen('server.status', ServerStatus.parse);
}