SearchQuery constructor
SearchQuery({
- FirstNameQuery? firstNameQuery,
- LastNameQuery? lastNameQuery,
- EmailQuery? emailQuery,
- UserIDQuery? userIdQuery,
Implementation
factory SearchQuery({
FirstNameQuery? firstNameQuery,
LastNameQuery? lastNameQuery,
EmailQuery? emailQuery,
UserIDQuery? userIdQuery,
}) {
final $result = create();
if (firstNameQuery != null) {
$result.firstNameQuery = firstNameQuery;
}
if (lastNameQuery != null) {
$result.lastNameQuery = lastNameQuery;
}
if (emailQuery != null) {
$result.emailQuery = emailQuery;
}
if (userIdQuery != null) {
$result.userIdQuery = userIdQuery;
}
return $result;
}