Comment class

Describes a comment.

Constructors

Comment({required String commentId, User? contributor, DateTime? createdTimestamp, String? parentId, String? recipientId, CommentStatusType? status, String? text, String? threadId, CommentVisibilityType? visibility})
Comment.fromJson(Map<String, dynamic> json)
factory

Properties

commentId String
The ID of the comment.
final
contributor User?
The details of the user who made the comment.
final
createdTimestamp DateTime?
The time that the comment was created.
final
hashCode int
The hash code for this object.
no setterinherited
parentId String?
The ID of the parent comment.
final
recipientId String?
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status CommentStatusType?
The status of the comment.
final
text String?
The text of the comment.
final
threadId String?
The ID of the root comment in the thread.
final
visibility CommentVisibilityType?
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited