userWentOffline property

Stream get userWentOffline

A stream that emits events when a user goes offline.

This stream listens for events indicating that a user has gone offline on the platform. Each event contains information about the user who went offline. Use this stream to update your UI or perform actions upon user going offline.

Usage example:

Mirrorfly.userWentOffline.listen((offlineEventData) {
  // Handle the event when a user goes offline
  print("User went offline: $offlineEventData");
});

Implementation

static Stream<dynamic> get userWentOffline =>
    FlyChatFlutterPlatform.instance.userWentOffline;