BodySingle.fromJson constructor
Implementation
factory BodySingle.fromJson(Map<String, Object?> json) {
return BodySingle(
storage: json[r'storage'] != null
? BodyType.fromJson(json[r'storage']! as Map<String, Object?>)
: null,
atlasDocFormat: json[r'atlas_doc_format'] != null
? BodyType.fromJson(
json[r'atlas_doc_format']! as Map<String, Object?>)
: null,
view: json[r'view'] != null
? BodyType.fromJson(json[r'view']! as Map<String, Object?>)
: null,
);
}