Callback for when connection state changes
void Function(Map<String, dynamic> info)? onConnectionStateChanged;