requestClientList method
접속유저 목록 조회
Implementation
Future<List<UserModel>> requestClientList() async {
_clientList = Completer();
_send({
"type": "send",
"address": "c2s.clientlist",
"headers": {},
"body": {
"roomId": roomId,
},
"replyAddress": "client_user_list",
});
var result = await _clientList!.future;
_clientList = null;
return result;
}