Closed carlosmobile closed 3 years ago
@carlosmobile Sure! I think this was a mistake from me. That needed to support JSON-serializable objects so your type definition reflects that better.
Thanks for the your contribution!
Published in 0.4.7 !
Amazing @matehat !!
We need to change in fromsocket too, sorry.
I/flutter (10251): Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' I/flutter (10251): #0 PhoenixSocket.addChannel (package:phoenix_socket/src/socket.dart:335:21)
Hello,
First of all thanks for your great work in this library.
Please, could you make channel parameters more flexible and update de String, String to String, dynamic?
I need this change to use this library in our app. I think is a simple change that not affect negatively to any library user.