Comment constructor

Comment({
  1. Object? body,
  2. CommentMode? mode,
  3. CommentAuthorInformation? author,
  4. String? contextValue,
  5. List<CommentReaction>? reactions,
  6. String? label,
  7. DateTime? timestamp,
})

Implementation

factory Comment({
  _i2.Object? body,
  _i3.CommentMode? mode,
  _i3.CommentAuthorInformation? author,
  _i2.String? contextValue,
  _i2.List<_i3.CommentReaction>? reactions,
  _i2.String? label,
  _i2.DateTime? timestamp,
}) =>
    Comment._(
      body: body ?? _i6.undefined,
      mode: mode?.name,
      author: author ?? _i6.undefined,
      contextValue: contextValue,
      reactions: reactions,
      label: label,
      timestamp: timestamp,
    );