updateCommunityMemberRole method
Implementation
Future<Map<dynamic, dynamic>> updateCommunityMemberRole(
{required int memberRole,
required String forUserID,
required String communityID}) async {
final result = await promiseToFuture(ZIM
.getInstance()!
.updateCommunityMemberRole(memberRole, forUserID, communityID))
.catchError(_handleError);
return _jsObjectToMap(result);
}