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