onNewMemberAddedToGroup property

Stream get onNewMemberAddedToGroup

A stream that emits events when a new member is added to a group.

This stream listens for events indicating that a new member has been added to a group on the Mirrorfly platform. Each event contains information about the group and the new member. Use this stream to update your UI or perform actions upon the addition of a new member to a group.

Usage example:

Mirrorfly.onNewMemberAddedToGroup.listen((newMemberData) {
  // Handle the addition of a new member to the group
  print("New member added to group: $newMemberData");
});

Implementation

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