onReconnectAttempt method

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

listen to on reconnect attempt event

Implementation

@override
void onReconnectAttempt(Function(dynamic data) handler) =>
    socket.onReconnectAttempt((data) => handler(data));