braverhealth / phoenix-socket-dart

Cross-platform and stream-based implementation of Phoenix Sockets
https://pub.dev/packages/phoenix_socket
BSD 3-Clause "New" or "Revised" License
74 stars 37 forks source link

Update channel.dart #13

Closed carlosmobile closed 3 years ago

carlosmobile commented 3 years ago

Sorry mate, my mistake! we need to update this 'parameters' to avoid this error in 0.4.7:

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)

matehat commented 3 years ago

Thanks for the quick fix!