ConnectionLostCallback typedef
A callback function to be called when the connection to the server has been lost.
Implementation
typedef ConnectionLostCallback = Future<void> Function();
A callback function to be called when the connection to the server has been lost.
typedef ConnectionLostCallback = Future<void> Function();