SearchQuery constructor
SearchQuery({
- UserNameQuery? userNameQuery,
- FirstNameQuery? firstNameQuery,
- LastNameQuery? lastNameQuery,
- NickNameQuery? nickNameQuery,
- DisplayNameQuery? displayNameQuery,
- EmailQuery? emailQuery,
- StateQuery? stateQuery,
- TypeQuery? typeQuery,
- LoginNameQuery? loginNameQuery,
- InUserIDQuery? inUserIdsQuery,
- OrQuery? orQuery,
- AndQuery? andQuery,
- NotQuery? notQuery,
- InUserEmailsQuery? inUserEmailsQuery,
Implementation
factory SearchQuery({
UserNameQuery? userNameQuery,
FirstNameQuery? firstNameQuery,
LastNameQuery? lastNameQuery,
NickNameQuery? nickNameQuery,
DisplayNameQuery? displayNameQuery,
EmailQuery? emailQuery,
StateQuery? stateQuery,
TypeQuery? typeQuery,
LoginNameQuery? loginNameQuery,
InUserIDQuery? inUserIdsQuery,
OrQuery? orQuery,
AndQuery? andQuery,
NotQuery? notQuery,
InUserEmailsQuery? inUserEmailsQuery,
}) {
final $result = create();
if (userNameQuery != null) {
$result.userNameQuery = userNameQuery;
}
if (firstNameQuery != null) {
$result.firstNameQuery = firstNameQuery;
}
if (lastNameQuery != null) {
$result.lastNameQuery = lastNameQuery;
}
if (nickNameQuery != null) {
$result.nickNameQuery = nickNameQuery;
}
if (displayNameQuery != null) {
$result.displayNameQuery = displayNameQuery;
}
if (emailQuery != null) {
$result.emailQuery = emailQuery;
}
if (stateQuery != null) {
$result.stateQuery = stateQuery;
}
if (typeQuery != null) {
$result.typeQuery = typeQuery;
}
if (loginNameQuery != null) {
$result.loginNameQuery = loginNameQuery;
}
if (inUserIdsQuery != null) {
$result.inUserIdsQuery = inUserIdsQuery;
}
if (orQuery != null) {
$result.orQuery = orQuery;
}
if (andQuery != null) {
$result.andQuery = andQuery;
}
if (notQuery != null) {
$result.notQuery = notQuery;
}
if (inUserEmailsQuery != null) {
$result.inUserEmailsQuery = inUserEmailsQuery;
}
return $result;
}