Search class
- Implemented types
- Annotations
-
- @freezed
Constructors
- Search({required String q, @JsonKey(name: 'type_') SearchType? type, PostListingType? listingType, int? communityId, String? communityName, SortType? sort, int? page, int? limit, int? creatorId, String? auth})
-
constfactory
-
Search.fromJson(Map<
String, dynamic> json) -
factory
Properties
- auth → String?
-
no setterinherited
- communityId → int?
-
no setterinherited
- communityName → String?
-
no setterinherited
-
copyWith
→ $SearchCopyWith<
Search> -
no setterinherited
- creatorId → int?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpMethod → HttpMethod
-
final
- limit → int?
-
no setterinherited
- listingType → PostListingType?
-
no setterinherited
- page → int?
-
no setterinherited
- path → String
-
final
- q → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sort → SortType?
-
no setterinherited
- type → SearchType?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
responseFactory(
Map< String, dynamic> json) → SearchResults -
override
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited