toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (doctorOnCall != null) 'doctorOnCall': doctorOnCall!,
  if (doctorOnCallException != null)
    'doctorOnCallException': doctorOnCallException!,
  if (ellipticalMachine != null) 'ellipticalMachine': ellipticalMachine!,
  if (ellipticalMachineException != null)
    'ellipticalMachineException': ellipticalMachineException!,
  if (fitnessCenter != null) 'fitnessCenter': fitnessCenter!,
  if (fitnessCenterException != null)
    'fitnessCenterException': fitnessCenterException!,
  if (freeFitnessCenter != null) 'freeFitnessCenter': freeFitnessCenter!,
  if (freeFitnessCenterException != null)
    'freeFitnessCenterException': freeFitnessCenterException!,
  if (freeWeights != null) 'freeWeights': freeWeights!,
  if (freeWeightsException != null)
    'freeWeightsException': freeWeightsException!,
  if (massage != null) 'massage': massage!,
  if (massageException != null) 'massageException': massageException!,
  if (salon != null) 'salon': salon!,
  if (salonException != null) 'salonException': salonException!,
  if (sauna != null) 'sauna': sauna!,
  if (saunaException != null) 'saunaException': saunaException!,
  if (spa != null) 'spa': spa!,
  if (spaException != null) 'spaException': spaException!,
  if (treadmill != null) 'treadmill': treadmill!,
  if (treadmillException != null) 'treadmillException': treadmillException!,
  if (weightMachine != null) 'weightMachine': weightMachine!,
  if (weightMachineException != null)
    'weightMachineException': weightMachineException!,
};