PostSearchResponse class
- Annotations
-
- @JsonSerializable()
Constructors
- PostSearchResponse()
-
PostSearchResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
getter/setter pair
- availablePages ↔ int?
-
getter/setter pair
-
groups
↔ List<
GroupResponse> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore ↔ bool?
-
getter/setter pair
-
polls
↔ List<
PollResponse> ? -
getter/setter pair
- query ↔ PagedQuery?
-
getter/setter pair
-
recruitmentDetails
↔ List<
ForumRecruitmentDetail> ? -
getter/setter pair
-
getter/setter pair
- replacementContinuationToken ↔ String?
-
getter/setter pair
-
results
↔ List<
PostResponse> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchedTags
↔ List<
TagResponse> ? -
getter/setter pair
- totalResults ↔ int?
-
getter/setter pair
- useTotalResults ↔ bool?
-
If useTotalResults is true, then totalResults represents an accurate count.
If False, it does not, and may be estimated/only the size of the current page.
Either way, you should probably always only trust hasMore.
This is a long-held historical throwback to when we used to do paging with known total results. Those queries toasted our database, and we were left to hastily alter our endpoints and create backward- compatible shims, of which useTotalResults is one.
getter/setter pair
Methods
-
asyncToJson(
) → Future< Map< String, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asyncFromJson(
Map< String, dynamic> json) → Future<PostSearchResponse>