close method
Implementation
Future<void> close() async {
for (final socket in _clients.values) {
await socket.disconnect();
}
await _server?.close(force: true);
}
Future<void> close() async {
for (final socket in _clients.values) {
await socket.disconnect();
}
await _server?.close(force: true);
}