CommentsResponse constructor

CommentsResponse({
  1. List<String>? texts,
  2. List<String>? dates,
  3. List<String>? userIds,
  4. List<String>? userPictures,
  5. List<String>? ids,
  6. List<int>? hidden,
  7. ResponseError? error,
})

Builds a CommentsResponse

  • texts: The list of text comments
  • dates: The list of dates for each comment
  • userIds: The list of user id's for each comment
  • userPictures: The list user pictures for each comment
  • ids: A list of the comment ids
  • hidden: A list with a hidden flag for each comment
  • error: An error if there was error while fetching the comments

Implementation

CommentsResponse(
    {this.texts,
    this.dates,
    this.userIds,
    this.userPictures,
    this.ids,
    this.hidden,
    super.error});