createFooterComment method
Create a footer comment. This can be at the top level (specifying pageId or blogPostId in the request body) or as a reply (specifying parentCommentId in the request body).
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space.
Implementation
Future<FooterCommentModel> createFooterComment(
{bool? serializeIdsAsStrings,
required CreateFooterCommentModel body}) async {
return FooterCommentModel.fromJson(await _client.send(
'post',
'footer-comments',
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
body: body.toJson(),
));
}