CommentRequestAnchorInstance<TUser extends UserBaseModel, TComment extends BaseCommentModel<TUser, TComment>> class abstract

获取指定范围的所有 comments , 请求锚点 获取到指定评论锚点的所有评论和回复(如果找到的评论有回复)

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestCommentAnchorPoint(String commentId) Future<List<CommentAnchorModel>?>
根据指定评论id 获取其所在的位置(常用于:定位滚到到指定评论)
requestCommentModels_fromStartUntilCommentId({required String bizId, required String commentId}) Future<CommentsResultInfo<TComment>?>
从头获取指定到指定评论范围内的所有 comments ,
requestCommentModels_untilCommentSize({required String bizId, required int commentPageSize}) Future<CommentsResultInfo<TComment>?>
从头请求指定个数的一层评论(常用于:定位滚到到指定评论)
requestReplyModelsForComment({required TComment comment, required int replyPageSize}) Future<List<TComment>?>
请求指定评论下的回复(常用于:定位滚到到指定评论)
toString() String
A string representation of this object.
inherited

Operators

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