onMemberRemovedAsAdmin property

Stream get onMemberRemovedAsAdmin

A stream that emits events when a member is removed as an admin from a group.

This stream listens for events indicating that a member's admin privileges have been revoked in a group on the Mirrorfly platform. Each event contains information about the group and the member who was removed as an admin. Use this stream to update your UI or perform actions upon the change in group admin status.

Usage example:

Mirrorfly.onMemberRemovedAsAdmin.listen((adminData) {
  // Handle the event when a member is removed as an admin
  print("Member removed as admin: $adminData");
});

Implementation

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