view_model_after_auth_view_models_feed_view_models_organization_feed_view_modelOrganizationFeedViewModel constructorupdatedPost methodOn this pageupdatedPost method void updatedPost (Post post) This function updates the post. params: post Implementation void updatedPost(Post post) { for (int i = 0; i < _posts.length; i++) { if (_posts[i].sId == post.sId) { _posts[i] = post; notifyListeners(); break; } }}