refreshComments method

Future<void> refreshComments(
  1. Authorperm id
)

Refresh the comments and add it to the stream

Implementation

Future<void> refreshComments(Authorperm id) async {
  if (!_commentsStreamControllers.containsKey(id)) {
    throw NotFoundFailure('Comments $id not found');
  }

  unawaited(_fetchAndAddComments(id, requestLatest: true));
}