comments function
Comments
Implementation
@riverpod
Future<fb.ResultsPagination<fb.Comment>> comments(
Ref ref, {
int page = 1,
String sortBy = 'new',
String? submissionId,
String? changelogId,
String? commentThreadId,
}) async {
return _fbService.api.comment.get(
page: page,
sortBy: sortBy,
submissionId: submissionId,
changelogId: changelogId,
commentThreadId: commentThreadId,
);
}