PostComment class
A request object for posting a comment.
- Available Extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
- PostComment({String? message, dynamic clientMeta, String? commentId})
-
PostComment.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clientMeta → dynamic
-
The position of where to place the comment. This can either be
an absolute canvas position or the relative position within a frame.
final
- commentId → String?
-
(Optional) The comment to reply to, if any. This must be a root
comment, that is, you cannot reply to a comment that is a reply
itself (a reply has a parent_id).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
The text contents of the comment to post.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
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