userCameOnline property

Stream get userCameOnline

A stream that emits events when a user comes online.

This stream listens for events indicating that a user has come online on the platform. Each event contains information about the user who came online. Use this stream to update your UI or perform actions upon user coming online.

Usage example:

Mirrorfly.userCameOnline.listen((onlineEventData) {
  // Handle the event when a user comes online
  print("User came online: $onlineEventData");
});

Implementation

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