setGroupMemberRole method
Implementation
Future<Map<dynamic, dynamic>> setGroupMemberRole(
int role,
String forUserID,
String groupID,
) async {
final result = await promiseToFuture(
ZIM.getInstance()!.setGroupMemberRole(role, forUserID, groupID))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}