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
73 stars 37 forks source link

Improve example with channel name in event #37

Closed TylerSustare closed 3 years ago

TylerSustare commented 3 years ago

After looking at https://github.com/braverhealth/phoenix-socket-dart/issues/27 I realized I could complete the TODO: and improve my example by including if (message.event.value == <...>)