BlogPostNestedBodyWrite.fromJson constructor

BlogPostNestedBodyWrite.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory BlogPostNestedBodyWrite.fromJson(Map<String, Object?> json) {
  return BlogPostNestedBodyWrite(
    storage: json[r'storage'] != null
        ? BlogPostBodyWrite.fromJson(
            json[r'storage']! as Map<String, Object?>)
        : null,
    atlasDocFormat: json[r'atlas_doc_format'] != null
        ? BlogPostBodyWrite.fromJson(
            json[r'atlas_doc_format']! as Map<String, Object?>)
        : null,
    wiki: json[r'wiki'] != null
        ? BlogPostBodyWrite.fromJson(json[r'wiki']! as Map<String, Object?>)
        : null,
  );
}