dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() async {
  super.dispose();
  onStarted = null;

  await _ws?.close();
  await _httpServer.close();
}