toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (beachView != null) 'beachView': beachView!,
      if (beachViewException != null)
        'beachViewException': beachViewException!,
      if (cityView != null) 'cityView': cityView!,
      if (cityViewException != null) 'cityViewException': cityViewException!,
      if (gardenView != null) 'gardenView': gardenView!,
      if (gardenViewException != null)
        'gardenViewException': gardenViewException!,
      if (lakeView != null) 'lakeView': lakeView!,
      if (lakeViewException != null) 'lakeViewException': lakeViewException!,
      if (landmarkView != null) 'landmarkView': landmarkView!,
      if (landmarkViewException != null)
        'landmarkViewException': landmarkViewException!,
      if (oceanView != null) 'oceanView': oceanView!,
      if (oceanViewException != null)
        'oceanViewException': oceanViewException!,
      if (poolView != null) 'poolView': poolView!,
      if (poolViewException != null) 'poolViewException': poolViewException!,
      if (valleyView != null) 'valleyView': valleyView!,
      if (valleyViewException != null)
        'valleyViewException': valleyViewException!,
    };