onreconnected method
Registers a handler that will be invoked when the connection successfully reconnects.
Implementation
void onreconnected(ReconnectedCallback callback) {
_reconnectedCallbacks.add(callback);
}
Registers a handler that will be invoked when the connection successfully reconnects.
void onreconnected(ReconnectedCallback callback) {
_reconnectedCallbacks.add(callback);
}