ParamsCommentList class

This class holds all arguments which can be used to filter comments when using WordPress.fetchComments method.

List Comments' Arguments

Constructors

ParamsCommentList({WordPressContext context: WordPressContext.view, int pageNum: 1, int perPage: 10, String searchQuery: '', String afterDate: '', List<int> includeAuthorIDs, List<int> excludeAuthorIDs, String authorEmail: '', String beforeDate: '', List<int> excludeCommentIDs, List<int> includeCommentIDs, int offset, Order order: Order.desc, CommentOrderBy orderBy: CommentOrderBy.date_gmt, List<int> includeParentIDs, List<int> excludeParentIDs, List<int> includePostIDs, CommentStatus commentStatus: CommentStatus.approve, CommentType commentType: CommentType.comment, String postPassword: ''})

Properties

afterDate → String
final
authorEmail → String
final
beforeDate → String
final
commentStatus CommentStatus
final
commentType CommentType
final
context WordPressContext
final
excludeAuthorIDs → List<int>
final
excludeCommentIDs → List<int>
final
excludeParentIDs → List<int>
final
includeAuthorIDs → List<int>
final
includeCommentIDs → List<int>
final
includeParentIDs → List<int>
final
includePostIDs → List<int>
final
offset → int
final
order Order
final
orderBy CommentOrderBy
final
pageNum → int
final
perPage → int
final
postPassword → String
final
searchQuery → String
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toMap() → Map<String, String>
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited