Comment class

A comment on a file in Google Drive.

Constructors

Comment()
Comment.fromJson(Map _json)

Properties

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 user who wrote this comment.
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
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
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
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited