onReconnecting property
Stream
get
onReconnecting
A stream that emits events when the chat service reconnection.
This stream listens for events indicating that the chat service is reconnecting to establish a connection. Each event contains information about the reconnection. Use this stream to update your UI or perform actions upon reconnection.
Usage example:
Mirrorfly.onReconnecting.listen(() {
// Handle the event when the platform reconnection
});
Implementation
static Stream<dynamic> get onReconnecting =>
FlyChatFlutterPlatform.instance.onReconnecting;