toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (coffeeMaker != null) 'coffeeMaker': coffeeMaker!,
  if (coffeeMakerException != null)
    'coffeeMakerException': coffeeMakerException!,
  if (cookware != null) 'cookware': cookware!,
  if (cookwareException != null) 'cookwareException': cookwareException!,
  if (dishwasher != null) 'dishwasher': dishwasher!,
  if (dishwasherException != null)
    'dishwasherException': dishwasherException!,
  if (indoorGrill != null) 'indoorGrill': indoorGrill!,
  if (indoorGrillException != null)
    'indoorGrillException': indoorGrillException!,
  if (kettle != null) 'kettle': kettle!,
  if (kettleException != null) 'kettleException': kettleException!,
  if (kitchenAvailable != null) 'kitchenAvailable': kitchenAvailable!,
  if (kitchenAvailableException != null)
    'kitchenAvailableException': kitchenAvailableException!,
  if (microwave != null) 'microwave': microwave!,
  if (microwaveException != null) 'microwaveException': microwaveException!,
  if (minibar != null) 'minibar': minibar!,
  if (minibarException != null) 'minibarException': minibarException!,
  if (outdoorGrill != null) 'outdoorGrill': outdoorGrill!,
  if (outdoorGrillException != null)
    'outdoorGrillException': outdoorGrillException!,
  if (oven != null) 'oven': oven!,
  if (ovenException != null) 'ovenException': ovenException!,
  if (refrigerator != null) 'refrigerator': refrigerator!,
  if (refrigeratorException != null)
    'refrigeratorException': refrigeratorException!,
  if (sink != null) 'sink': sink!,
  if (sinkException != null) 'sinkException': sinkException!,
  if (snackbar != null) 'snackbar': snackbar!,
  if (snackbarException != null) 'snackbarException': snackbarException!,
  if (stove != null) 'stove': stove!,
  if (stoveException != null) 'stoveException': stoveException!,
  if (teaStation != null) 'teaStation': teaStation!,
  if (teaStationException != null)
    'teaStationException': teaStationException!,
  if (toaster != null) 'toaster': toaster!,
  if (toasterException != null) 'toasterException': toasterException!,
};