loadComments method

Future<void> loadComments()

Loads comments for the entity.

Fetches all root comments from the server and updates the comments list. Notifies listeners when the operation completes.

Implementation

Future<void> loadComments() async {
  _comments = await controller.fetchComments(postId);
  notifyListeners();
}