onConnecting method

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

listen to on connecting event

Implementation

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