onLoggedOut property
Stream
get
onLoggedOut
A stream that emits events when a user is logged out.
This stream listens for events indicating that a user has logged out from the SDK. Each event contains information about the logout event. Use this stream to update your UI or perform actions upon user logout.
Usage example:
Mirrorfly.onLoggedOut.listen((logoutEventData) {
// Handle the event when a user logs out
print("User logged out: $logoutEventData");
});
Implementation
static Stream<dynamic> get onLoggedOut =>
FlyChatFlutterPlatform.instance.onLoggedOut;