Comment constructor
const
Comment({})
Builds a Comment
id: The id of the comment shaderId: The id of the shader userId: The user id of user that posted the comment picture: The picture of the user who posted the comment date: The date the comment was posted text: The text of the comment hidden: If the current user comment is hidden
Implementation
const Comment(
{required this.id,
required this.shaderId,
required this.userId,
this.picture,
required this.date,
required this.text,
this.hidden = false});