RoleQuery constructor

RoleQuery({
  1. RoleKeyQuery? keyQuery,
  2. RoleDisplayNameQuery? displayNameQuery,
})

Implementation

factory RoleQuery({
  RoleKeyQuery? keyQuery,
  RoleDisplayNameQuery? displayNameQuery,
}) {
  final $result = create();
  if (keyQuery != null) {
    $result.keyQuery = keyQuery;
  }
  if (displayNameQuery != null) {
    $result.displayNameQuery = displayNameQuery;
  }
  return $result;
}