Closed ghost closed 4 years ago
I am using laravel-echo with socket.io everything works fine except the data I am receiving from the presence channel here method is of type MappedListIterable<dynamic, dynamic> which makes it hard to convert to another useful type.
result
Sorry for the trouble the solution is simple just call onlinepayers.toList() and you will get List
I am using laravel-echo with socket.io everything works fine except the data I am receiving from the presence channel here method is of type MappedListIterable<dynamic, dynamic> which makes it hard to convert to another useful type.
result