CreateCommentRequest constructor
CreateCommentRequest({
- int? author,
- String? authorIp,
- String? authorUrl,
- String? authorEmail,
- String? content,
- String? authorDisplayName,
- String? authorUserAgent,
- String? parent,
- String? post,
- CancelToken? cancelToken,
- IAuthorization? authorization,
- WordpressEvents? events,
- Duration receiveTimeout = const Duration(seconds: 30),
- bool requireAuth = true,
- Duration sendTimeout = const Duration(seconds: 30),
- ValidatorCallback? validator,
- Map<
String, dynamic> ? extra, - Map<
String, String> ? headers, - 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,
});