ListPosts constructor
- @JsonSerializable.new(includeIfNull: false)
const
ListPosts(
{ - int? limit,
- int? page,
- String? sort,
- @JsonKey.new(name: 'type_') String? type,
- @JsonKey.new(name: 'feed_id') int? feedId,
- @JsonKey.new(name: 'topic_id') int? topicId,
- @JsonKey.new(name: 'saved_only') bool? savedOnly,
- @JsonKey.new(name: 'liked_only') bool? likedOnly,
- @JsonKey.new(name: 'person_id') int? personId,
- @JsonKey.new(name: 'ignore_sticky') bool? ignoreSticky,
- String? auth,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ListPosts({
int? limit,
int? page,
String? sort,
@JsonKey(name: 'type_') String? type,
@JsonKey(name: 'community_id') int? communityId,
@JsonKey(name: 'community_name') String? communityName,
@JsonKey(name: 'feed_id') int? feedId,
@JsonKey(name: 'topic_id') int? topicId,
@JsonKey(name: 'saved_only') bool? savedOnly,
@JsonKey(name: 'liked_only') bool? likedOnly,
@JsonKey(name: 'person_id') int? personId,
@JsonKey(name: 'ignore_sticky') bool? ignoreSticky,
String? auth,
}) = _ListPosts;