SearchPostsOutput class
- Available extensions
- Annotations
-
- @freezed
Constructors
-
SearchPostsOutput({String? cursor, @Default(0) int hitsTotal, @PostViewConverter() required List<
PostView> posts, @JsonKey(name: r'$unknown') Map<String, dynamic> ? $unknown}) -
constfactory
-
SearchPostsOutput.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
$unknown
→ Map<
String, dynamic> ? -
Contains unknown objects not defined in Lexicon.
no setterinherited
-
copyWith
→ $SearchPostsOutputCopyWith<
SearchPostsOutput> -
no setterinherited
- cursor → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hitsTotal → int
-
Count of search hits. Optional, may be rounded/truncated, and may
not be possible to paginate through all hits.
no setterinherited
-
posts
→ List<
PostView> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited