CreateCommentRequest constructor

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

Implementation

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