class FBComments { String postID; DateTime timestamp; String thumbnail; String commenterID; String commenter; String commentID; String comment; FBComments( {this.postID, this.comment, this.commentID, this.commenter, this.commenterID, this.thumbnail, this.timestamp}); factory FBComments.fromJSON(Map json) { return FBComments( comment: json["comment"], commentID: json["commentID"], commenter: json["commenter"], commenterID: json["commenterID"], thumbnail: json["thumbnail"], postID: json["post"], timestamp: DateTime.fromMillisecondsSinceEpoch(json["timestamp"]), ); } }