Thread constructor

Thread(
  1. Map map
)

Implementation

Thread(Map map)
    : type = map["\$type"],
      post = Post(map["post"]),
      parentMap = map["parent"],
      replyList = map["replies"];