FileCommentPayload class
- Inheritance
-
- Object
- BasePayload
- FileCommentPayload
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
- @CopyWith.new()
Constructors
-
FileCommentPayload({required String? passcode, required DateTime? timestamp, required String? webhookId, required List<
CommentFragment> ? comment, required String? commentId, required DateTime? createdAt, required String? fileKey, required String? fileName, required List<User> ? mentions, required User? triggeredBy}) -
const
-
FileCommentPayload.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
comment
→ List<
CommentFragment> ? -
Contents of the comment itself.
final
- commentId → String?
-
Unique identifier for comment.
final
- copyWith → _$FileCommentPayloadCWProxy
-
Available on FileCommentPayload, provided by the $FileCommentPayloadCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfFileCommentPayload.copyWith(...)orinstanceOfFileCommentPayload.copyWith.fieldName(...).no setter - createdAt → DateTime?
-
The UTC ISO 8601 time at which the comment was left.
final
- fileKey → String?
-
The key of the file that was commented on.
final
- fileName → String?
-
The name of the file that was commented on.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mentions
→ List<
User> ? -
Users that were mentioned in the comment.
final
- passcode → String?
-
The passcode specified when the webhook was created, should match what was
initially provided.
finalinherited
-
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, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - timestamp → DateTime?
-
UTC ISO 8601 timestamp of when the event was triggered.
finalinherited
- triggeredBy → User?
-
The user that made the comment and triggered this event.
final
- webhookId → String?
-
The id of the webhook that caused the callback.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited