onReconnect method Null safety

void onReconnect()

Informs when reconnection is about to happen

Implementation

void onReconnect() {}