players property

Map<int, ConnectionInfo> players

Implementation

Map<int, ConnectionInfo> get players =>
    Map.fromEntries((_server?.clientConnections ?? {})
        .map((e) => MapEntry(e, _server!.getConnectionInfo(e)!)));