onConnect method
void
onConnect(
- dynamic handler(
- dynamic data
listen to on connect event
Implementation
void onConnect(Function(dynamic data) handler) {}
listen to on connect event
void onConnect(Function(dynamic data) handler) {}