Post class
Represents a single post in a comment or suggestion thread.
Constructors
- Post({String? assigneeEmail, PostAuthor? author, String? commentAction, String? content, String? contentHtml, String? createTime, bool? deleted, bool? fromCopiedDocument, bool? fromDocumentComparison, bool? fromImportedDocument, String? postId, String? suggestionAction, String? updateTime})
- Post.fromJson(Map json_)
Properties
- assigneeEmail ↔ String?
-
The email of the user who is being newly assigned to the thread as part of
this post.
getter/setter pair
-
The user who created the post.
getter/setter pair
- commentAction ↔ String?
-
The action type for comment posts.
getter/setter pair
- content ↔ String?
-
The content of the post.
getter/setter pair
- contentHtml ↔ String?
-
The content of the post as HTML.
getter/setter pair
- createTime ↔ String?
-
The time the post was created.
getter/setter pair
- deleted ↔ bool?
-
Whether the post is deleted.
getter/setter pair
- fromCopiedDocument ↔ bool?
-
Whether the post is from a copied document.
getter/setter pair
- fromDocumentComparison ↔ bool?
-
Whether the post is from a document comparison.
getter/setter pair
- fromImportedDocument ↔ bool?
-
Whether the post is from an imported document.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- postId ↔ String?
-
The unique ID of the post.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestionAction ↔ String?
-
The action type for suggestion posts.
getter/setter pair
- updateTime ↔ String?
-
The time the post was last updated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited