onreconnected abstract method

void onreconnected(
  1. void callback(
    1. String? connectionId
    )
)

Registers a handler that will be invoked when the connection successfully reconnects.

callback The handler that will be invoked when the connection successfully reconnects.

Implementation

void onreconnected(void Function(String? connectionId) callback);