onNewGroupCreated property

Stream get onNewGroupCreated

A stream that emits events when a new group is created.

This stream listens for events indicating that a new group has been successfully created on the Mirrorfly platform. Each event contains the data of the newly created group. Use this stream to update your UI or perform actions upon the creation of a new group.

Usage example:

Mirrorfly.onNewGroupCreated.listen((newGroupData) {
  // Handle the new group creation
  print("New group created: $newGroupData");
});

Implementation

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