Comment class

A comment on a file.

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 created the comment.
read / write
content ↔ String
The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
read / write
createdTime ↔ DateTime
The time at which the comment was created (RFC 3339 date-time).
read / write
deleted ↔ bool
Whether the comment has been deleted. A deleted comment has no content.
read / write
htmlContent ↔ String
The content of the comment with HTML formatting.
read / write
id ↔ String
The ID of the comment.
read / write
kind ↔ String
Identifies what kind of resource this is. Value: the fixed string "drive#comment".
read / write
modifiedTime ↔ DateTime
The last time the comment or any of its replies was modified (RFC 3339 date-time).
read / write
quotedFileContent CommentQuotedFileContent
The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
read / write
replies ↔ List<Reply>
The full list of replies to the comment in chronological order.
read / write
resolved ↔ bool
Whether the comment has been resolved by one of its replies.
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