SuggestionThread class
Represents a single suggestion thread.
Suggestion threads are created as a byproduct of saving changes to the document while in suggestion mode, and cannot be created directly.
Constructors
-
SuggestionThread({Post? headPost, List<
Post> ? replies, String? status, String? suggestionId, String? summaryHtml, String? summaryText}) - SuggestionThread.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headPost ↔ Post?
-
The first post in the thread.
getter/setter pair
-
replies
↔ List<
Post> ? -
Replies to the head post.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Whether the thread is open, accepted, or rejected.
Possible string values are:
getter/setter pair
- suggestionId ↔ String?
-
The unique ID of the suggestion.
getter/setter pair
- summaryHtml ↔ String?
-
Summary of the suggested differences in the document, in HTML.
getter/setter pair
- summaryText ↔ String?
-
Summary of the suggested differences in the document, in plain text.
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