activeConnections property

int get activeConnections

Implementation

int get activeConnections => _connections.values
    .where((state) => state == ConnectionState.active)
    .length;