CreateFooterCommentModel.fromJson constructor

CreateFooterCommentModel.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CreateFooterCommentModel.fromJson(Map<String, Object?> json) {
  return CreateFooterCommentModel(
    blogPostId: json[r'blogPostId'] as String?,
    pageId: json[r'pageId'] as String?,
    parentCommentId: json[r'parentCommentId'] as String?,
    body: json[r'body'],
  );
}