PageCommentModel.fromJson constructor
Implementation
factory PageCommentModel.fromJson(Map<String, Object?> json) {
return PageCommentModel(
id: json[r'id'] as String?,
status: json[r'status'] as String?,
title: json[r'title'] as String?,
pageId: json[r'pageId'] as String?,
version: json[r'version'] != null
? Version.fromJson(json[r'version']! as Map<String, Object?>)
: null,
body: json[r'body'] != null
? BodyBulk.fromJson(json[r'body']! as Map<String, Object?>)
: null,
links: json[r'_links'] != null
? CommentLinks.fromJson(json[r'_links']! as Map<String, Object?>)
: null,
);
}