GetPosts constructor
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const
GetPosts(
{ - @JsonKey(name: 'type_') PostListingType? type,
- SortType? sort,
- int? page,
- int? limit,
- bool? savedOnly,
- String? auth,
})
Implementation
@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory GetPosts({
@JsonKey(name: 'type_') PostListingType? type,
SortType? sort,
int? page,
int? limit,
int? communityId,
String? communityName,
bool? savedOnly,
String? auth,
}) = _GetPosts;