navigateToPinnedPostPage method
void navigateToPinnedPostPage ()
This function navigate to pinned post page.
Implementation
void navigateToPinnedPostPage() {
// uses `pushScreen` method by `navigationService` service.
_navigationService.pushScreen(
Routes.pinnedPostPage,
arguments: _pinnedPosts,
);
}