getprofilePosts method

Future<PostFetchListResponse> getprofilePosts(
  1. int page,
  2. int userID,
  3. String category
)

Implementation

Future<PostFetchListResponse> getprofilePosts(
    int page, int userID, String category) async {
  PostFetchListResponse jsonData = await service.postsServices.getPosts(
    userID: userID,
    page: page,
    category: category,
  );
  return jsonData;
}