ContentBodyValue.fromJson constructor
Implementation
factory ContentBodyValue.fromJson(Map<String, Object?> json) {
return ContentBodyValue(
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,
wiki: json[r'wiki'] != null
? ContentBody.fromJson(json[r'wiki']! 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,
anonymousExportView: json[r'anonymous_export_view'] != null
? ContentBody.fromJson(
json[r'anonymous_export_view']! as Map<String, Object?>)
: null,
atlasDocFormat: json[r'atlas_doc_format'] != null
? ContentBody.fromJson(
json[r'atlas_doc_format']! as Map<String, Object?>)
: null,
dynamic$: json[r'dynamic'] != null
? ContentBody.fromJson(json[r'dynamic']! as Map<String, Object?>)
: null,
raw: json[r'raw'] != null
? ContentBody.fromJson(json[r'raw']! as Map<String, Object?>)
: null,
expandable: json[r'_expandable'] != null
? ContentBodyValueExpandable.fromJson(
json[r'_expandable']! as Map<String, Object?>)
: null,
);
}