newsCommentsCountProvider top-level property
final
Implementation
final newsCommentsCountProvider = FutureProvider.family
.autoDispose<int, CommentsManagerProvider>((ref, managerProvider) async {
final commentManager =
await ref.watch(commentsManagerProvider(managerProvider).future);
final commentList =
await ref.watch(commentsListProvider(commentManager).future);
return commentList.length;
});