MembershipQuery constructor

MembershipQuery({
  1. MembershipOrgQuery? orgQuery,
  2. MembershipProjectQuery? projectQuery,
  3. MembershipProjectGrantQuery? projectGrantQuery,
  4. MembershipIAMQuery? iamQuery,
})

Implementation

factory MembershipQuery({
  MembershipOrgQuery? orgQuery,
  MembershipProjectQuery? projectQuery,
  MembershipProjectGrantQuery? projectGrantQuery,
  MembershipIAMQuery? iamQuery,
}) {
  final $result = create();
  if (orgQuery != null) {
    $result.orgQuery = orgQuery;
  }
  if (projectQuery != null) {
    $result.projectQuery = projectQuery;
  }
  if (projectGrantQuery != null) {
    $result.projectGrantQuery = projectGrantQuery;
  }
  if (iamQuery != null) {
    $result.iamQuery = iamQuery;
  }
  return $result;
}