onMemberMadeAsAdmin property
Stream
get
onMemberMadeAsAdmin
A stream that emits events when a member is made as an admin of a group.
This stream listens for events indicating that a member has been granted admin privileges in a group on the Mirrorfly platform. Each event contains information about the group and the member who was made an admin. Use this stream to update your UI or perform actions upon the change in group admin status.
Usage example:
Mirrorfly.onMemberMadeAsAdmin.listen((adminData) {
// Handle the event when a member is made an admin
print("Member made as admin: $adminData");
});
Implementation
static Stream<dynamic> get onMemberMadeAsAdmin =>
FlyChatFlutterPlatform.instance.onMemberMadeAsAdmin;