isRunning method Null safety

bool isRunning()

Indicates if the server is running or not.

Implementation

bool isRunning() {
  return this._server != null;
}