shutdown method Null safety

void shutdown()

Immediately close all connections, ignoring any keepAlive periods.

Implementation

void shutdown() {
  for (final connection in _connections.values) {
    connection.shutdown();
  }
}