UpdateCommentRequest constructor

UpdateCommentRequest({
  1. required int id,
  2. int? author,
  3. String? authorIp,
  4. String? authorUrl,
  5. String? authorEmail,
  6. String? authorDisplayName,
  7. String? authorUserAgent,
  8. int? parent,
  9. String? content,
  10. int? post,
  11. CommentStatus? status,
  12. CancelToken? cancelToken,
  13. IAuthorization? authorization,
  14. WordpressEvents? events,
  15. Duration receiveTimeout = const Duration(seconds: 30),
  16. bool requireAuth = true,
  17. Duration sendTimeout = const Duration(seconds: 30),
  18. ValidatorCallback? validator,
  19. Map<String, dynamic>? extra,
  20. Map<String, String>? headers,
  21. Map<String, dynamic>? queryParameters,
})

Implementation

UpdateCommentRequest({
  required this.id,
  this.author,
  this.authorIp,
  this.authorUrl,
  this.authorEmail,
  this.authorDisplayName,
  this.authorUserAgent,
  this.parent,
  this.content,
  this.post,
  this.status,
  super.cancelToken,
  super.authorization,
  super.events,
  super.receiveTimeout,
  super.requireAuth,
  super.sendTimeout,
  super.validator,
  super.extra,
  super.headers,
  super.queryParameters,
});