onReconnecting method

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

listen to on reconnecting event

Implementation

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