onConnect method
Listen for the on connect event.
Implementation
@override
void onConnect(Function(dynamic data) handler) =>
pusher.onConnectionEstablished(handler);
Listen for the on connect event.
@override
void onConnect(Function(dynamic data) handler) =>
pusher.onConnectionEstablished(handler);