refreshThreads method
Refresh the feed and add it to the stream
Implementation
Future<void> refreshThreads({
String? tag,
ThreadsSortOrder? sort,
}) async {
final key = _getThreadsKey(tag, sort?.name);
if (!_feedStreamControllers.containsKey(key)) {
throw NotFoundFailure('Threads $key not found');
}
unawaited(
_fetchAndAddFeed(
tag: tag,
sort: sort?.toFeedSortOrder(),
requestLatest: true,
isThreads: true,
),
);
}