server property Null safety

ApplicationServer server

The ApplicationServer that sends HTTP requests to this object.

Implementation

ApplicationServer get server => _server;
void server=(ApplicationServer server)

Implementation

set server(ApplicationServer server) {
  _server = server;
  messageHub._outboundController.stream.listen(server.sendApplicationEvent);
  server.hubSink = messageHub._inboundController.sink;
}