ContentTemplateBody.fromJson constructor
Implementation
factory ContentTemplateBody.fromJson(Map<String, Object?> json) {
return ContentTemplateBody(
view: json[r'view'] != null
? ContentBody.fromJson(json[r'view']! as Map<String, Object?>)
: null,
exportView: json[r'export_view'] != null
? ContentBody.fromJson(json[r'export_view']! as Map<String, Object?>)
: null,
styledView: json[r'styled_view'] != null
? ContentBody.fromJson(json[r'styled_view']! as Map<String, Object?>)
: null,
storage: json[r'storage'] != null
? ContentBody.fromJson(json[r'storage']! as Map<String, Object?>)
: null,
editor: json[r'editor'] != null
? ContentBody.fromJson(json[r'editor']! as Map<String, Object?>)
: null,
editor2: json[r'editor2'] != null
? ContentBody.fromJson(json[r'editor2']! as Map<String, Object?>)
: null,
wiki: json[r'wiki'] != null
? ContentBody.fromJson(json[r'wiki']! as Map<String, Object?>)
: null,
atlasDocFormat: json[r'atlas_doc_format'] != null
? ContentBody.fromJson(
json[r'atlas_doc_format']! as Map<String, Object?>)
: null,
anonymousExportView: json[r'anonymous_export_view'] != null
? ContentBody.fromJson(
json[r'anonymous_export_view']! as Map<String, Object?>)
: null,
);
}