CustomContentNestedBodyWrite.fromJson constructor

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

Implementation

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