Comment class

A comment on a file in Google Drive.


Comment.fromJson(Map _json)


anchor String
A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
read / write
author User
The author of the comment. The author's email address and permission ID will not be populated.
read / write
commentId String
The ID of the comment.
read / write
content String
The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment's content.
read / write
context CommentContext
The context of the file which is being commented on.
read / write
createdDate DateTime
The date when this comment was first created.
read / write
deleted bool
Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
read / write
fileId String
The file which this comment is addressing.
read / write
fileTitle String
The title of the file which this comment is addressing.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
htmlContent String
HTML formatted content for this comment.
read / write
kind String
This is always drive#comment.
read / write
modifiedDate DateTime
The date when this comment or any of its replies were last modified.
read / write
replies List<CommentReply>
Replies to this post.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
A link back to this comment.
read / write
status String
The status of this comment. Status can be changed by posting a reply to a comment with the desired status. [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]