parseAwaitedUserList method
void
parseAwaitedUserList(
- dynamic map
Implementation
void parseAwaitedUserList(map) {
// List jsonList = map as List;
if (kDebugMode) {
print("parseAwait$map");
}
for (var item in map) {
var lobbyModel = LobbyModel();
lobbyModel.name = item['name'];
lobbyModel.clientId = item["clientId"];
lobbyModel.isApproveAwaitUser = false;
lobbyModel.isDenyAwaitUser = false;
lobbyRequestArrayList.add(lobbyModel);
}
if (kDebugMode) {
print("parseAwait${lobbyRequestArrayList.length}");
}
}