toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> _data = <String, dynamic>{};
  if (wall != null) {
    _data["wall"] = wall?.toJson();
  }
  if (corner != null) {
    _data["corner"] = corner?.toJson();
  }
  if (height != null) {
    _data["height"] = height?.toJson();
  }
  if (builder != null) {
    _data["builder"] = builder?.toJson();
  }
  if (railing != null) {
    _data["railing"] = railing?.toJson();
  }
  if (planeObj != null) {
    _data["planeObj"] = planeObj?.toJson();
  }
  if (baseInfo != null) {
    _data["base_info"] = baseInfo?.toJson();
  }
  if (holeInfo != null) {
    _data["hole_info"] = holeInfo?.toJson();
  }
  if (roomSize != null) {
    _data["room_size"] = roomSize?.toJson();
  }
  if (wallSize != null) {
    _data["wall_size"] = wallSize?.toJson();
  }
  if (drawHouse != null) {
    _data["draw_house"] = drawHouse?.toJson();
  }
  if (holeFrame != null) {
    _data["hole_frame"] = holeFrame?.toJson();
  }
  if (holeRuler != null) {
    _data["hole_ruler"] = holeRuler?.toJson();
  }
  if (rulerWall != null) {
    _data["ruler.wall"] = rulerWall?.toJson();
  }
  if (squareness != null) {
    _data["squareness"] = squareness?.toJson();
  }
  if (rulerPlane != null) {
    _data["ruler.plane"] = rulerPlane?.toJson();
  }
  if (splitJonum != null) {
    _data["split_jonum"] = splitJonum?.toJson();
  }
  if (wallFiller != null) {
    _data["wall_filler"] = wallFiller?.toJson();
  }
  if (widthDepth != null) {
    _data["width_depth"] = widthDepth?.toJson();
  }
  if (cornerRidge != null) {
    _data["corner_ridge"] = cornerRidge?.toJson();
  }
  if (cornerRuler != null) {
    _data["corner_ruler"] = cornerRuler?.toJson();
  }
  if (floorHeight != null) {
    _data["floor_height"] = floorHeight?.toJson();
  }
  if (kwargsFloor != null) {
    _data["kwargs_floor"] = kwargsFloor?.toJson();
  }
  if (markingLine != null) {
    _data["marking_line"] = markingLine?.toJson();
  }
  if (marklineDet != null) {
    _data["markline_det"] = marklineDet?.toJson();
  }
  if (paramSetting != null) {
    _data["param_setting"] = paramSetting?.toJson();
  }
  if (tileComposer != null) {
    _data["tile_composer"] = tileComposer?.toJson();
  }
  if (floorGradient != null) {
    _data["floor_gradient"] = floorGradient?.toJson();
  }
  if (levelnessRoof != null) {
    _data["levelness.roof"] = levelnessRoof?.toJson();
  }
  if (microFlatness != null) {
    _data["micro_flatness"] = microFlatness?.toJson();
  }
  if (wallDiagonals != null) {
    _data["wall_diagonals"] = wallDiagonals?.toJson();
  }
  if (wireboxHeight != null) {
    _data["wirebox_height"] = wireboxHeight?.toJson();
  }
  if (houseDiagonals != null) {
    _data["house_diagonals"] = houseDiagonals?.toJson();
  }
  if (levelnessFloor != null) {
    _data["levelness.floor"] = levelnessFloor?.toJson();
  }
  if (wallTrowelling != null) {
    _data["wall_trowelling"] = wallTrowelling?.toJson();
  }
  if (polygonSearcher != null) {
    _data["polygon_searcher"] = polygonSearcher?.toJson();
  }
  if (rulerWallWall2 != null) {
    _data["ruler.wall.wall_2"] = rulerWallWall2?.toJson();
  }
  if (repetitionalRuler != null) {
    _data["repetitional_ruler"] = repetitionalRuler?.toJson();
  }
  if (windowBottomEdge != null) {
    _data["window_bottom_edge"] = windowBottomEdge?.toJson();
  }
  if (floorTileComposer != null) {
    _data["floor_tile_composer"] = floorTileComposer?.toJson();
  }
  if (rulerWallSelection != null) {
    _data["ruler.wall_selection"] = rulerWallSelection?.toJson();
  }
  if (similarFailedDetect != null) {
    _data["similar_failed_detect"] = similarFailedDetect?.toJson();
  }
  if (windowsTopLevelness != null) {
    _data["windows_top_levelness"] = windowsTopLevelness?.toJson();
  }
  if (woodenFloorComposer != null) {
    _data["wooden_floor_composer"] = woodenFloorComposer?.toJson();
  }
  if (ceilingAluminumGusset != null) {
    _data["ceiling_aluminum_gusset"] = ceilingAluminumGusset?.toJson();
  }
  if (rulerPlaneRoofSmooth1 != null) {
    _data["ruler.plane.roof_smooth_1"] = rulerPlaneRoofSmooth1?.toJson();
  }
  return _data;
}