AmityPostGetQueryBuilder class

Constructors

AmityPostGetQueryBuilder(PostGetUsecase _useCase, String _targetId, String _targetType)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build({int? pageSize = 20}) → GetPostRequest
feedType(AmityFeedType feedType) AmityPostGetQueryBuilder
getLiveCollection({int? pageSize = 20}) PostLiveCollection
getPagingData({String? token, int? limit}) Future<PageListData<List<AmityPost>, String>>
hasFlag(bool hasFlag) AmityPostGetQueryBuilder
includeDeleted(bool includeDeleted) AmityPostGetQueryBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onlyParent(bool onlyParent) AmityPostGetQueryBuilder
query({String? token, int? limit = 20}) Future<List<AmityPost>>
Query
sortBy(AmityPostSortOption sortOption) AmityPostGetQueryBuilder
tags(List<String> tags) AmityPostGetQueryBuilder
toString() String
A string representation of this object.
inherited
types(List<AmityDataType> postTypes) AmityPostGetQueryBuilder

Operators

operator ==(Object other) bool
The equality operator.
inherited