onReconnecting method Null safety

void onReconnecting()

when network or some other error happens it will be called

Implementation

void onReconnecting();