SearchQuery constructor

SearchQuery({
  1. IDsQuery? idsQuery,
  2. UserIDQuery? userIdQuery,
  3. CreationDateQuery? creationDateQuery,
})

Implementation

factory SearchQuery({
  IDsQuery? idsQuery,
  UserIDQuery? userIdQuery,
  CreationDateQuery? creationDateQuery,
}) {
  final result = create();
  if (idsQuery != null) result.idsQuery = idsQuery;
  if (userIdQuery != null) result.userIdQuery = userIdQuery;
  if (creationDateQuery != null) result.creationDateQuery = creationDateQuery;
  return result;
}