bool containsPlayer({required String player_id}) { try { players.singleWhere((element) => element.player_id == player_id); return true; } catch (e) {} return false; }