reload method

Future<void> reload()

Implementation

Future<void> reload() async {
  var completer = reloadCompleter = Completer<void>();
  serverSendPort.send(null);
  await completer.future;
  reloadCompleter = null;
}