removeCommunityMembersFromPermissionGroup method

  1. @override
Future<V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult>>> removeCommunityMembersFromPermissionGroup({
  1. required String groupID,
  2. required String permissionGroupID,
  3. required List<String> memberList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult>>> removeCommunityMembersFromPermissionGroup({
  required String groupID,
  required String permissionGroupID,
  required List<String> memberList,
}) async {
  Map<String, dynamic> param = {
    "groupID": groupID,
    "permissionGroupID": permissionGroupID,
    "memberList": memberList,
  };
  var resp = V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "removeCommunityMembersFromPermissionGroup",
        buildCommunityManagerParam(
          param,
        ),
      ),
    ),
  );
  log("removeCommunityMembersFromPermissionGroup", param, resp.toLogString());
  return resp;
}