CommentData constructor

CommentData({
  1. required String text,
  2. CommentDataTypeEnum? type,
})

Returns a new CommentData instance.

Implementation

CommentData({
  required this.text,
  this.type,
});