echo icon indicating copy to clipboard operation
echo copied to clipboard

PresenseChannel .here users list not returning the array

Open UnifySoftTech opened this issue 3 years ago • 0 comments

echo.join('presence-channel') .here((users) { print(users); }).joining((user) { print(user); }).leaving((user) { print(user); }).listen('PresenceEvent', (e) { print(e); });

The .here() does not return an array instead return a PusherEvent which do not let me run for each loop on the users

[[User id=4, data={"id":4.0}], [User id=7, data={"id":7.0}]]

This is the Kind of data i receive when i do print(users);

Any suggestion?.

Echo.socketId() also returning Null

UnifySoftTech avatar Sep 21 '21 13:09 UnifySoftTech