onReconnectAttempt method

void onReconnectAttempt(
  1. dynamic handler(
    1. dynamic data
    )
)

listen to on reconnect attempt event

Implementation

void onReconnectAttempt(Function(dynamic data) handler) {}