GetPosts class

Implemented types
Annotations
  • @freezed

Constructors

GetPosts({@JsonKey(name: 'type_') PostListingType? type, SortType? sort, int? page, int? limit, int? communityId, String? communityName, bool? savedOnly, String? auth})
const
factory
GetPosts.fromJson(Map<String, dynamic> json)
factory

Properties

auth String?
no setterinherited
communityId int?
no setterinherited
communityName String?
no setterinherited
copyWith → $GetPostsCopyWith<GetPosts>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
httpMethod HttpMethod
final
limit int?
no setterinherited
page int?
no setterinherited
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savedOnly bool?
no setterinherited
sort SortType?
no setterinherited
type PostListingType?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
responseFactory(Map<String, dynamic> json) List<PostView>
override
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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