Wellness.fromJson constructor

Wellness.fromJson(
  1. Map json_
)

Implementation

Wellness.fromJson(core.Map json_)
    : this(
        doctorOnCall: json_.containsKey('doctorOnCall')
            ? json_['doctorOnCall'] as core.bool
            : null,
        doctorOnCallException: json_.containsKey('doctorOnCallException')
            ? json_['doctorOnCallException'] as core.String
            : null,
        ellipticalMachine: json_.containsKey('ellipticalMachine')
            ? json_['ellipticalMachine'] as core.bool
            : null,
        ellipticalMachineException:
            json_.containsKey('ellipticalMachineException')
                ? json_['ellipticalMachineException'] as core.String
                : null,
        fitnessCenter: json_.containsKey('fitnessCenter')
            ? json_['fitnessCenter'] as core.bool
            : null,
        fitnessCenterException: json_.containsKey('fitnessCenterException')
            ? json_['fitnessCenterException'] as core.String
            : null,
        freeFitnessCenter: json_.containsKey('freeFitnessCenter')
            ? json_['freeFitnessCenter'] as core.bool
            : null,
        freeFitnessCenterException:
            json_.containsKey('freeFitnessCenterException')
                ? json_['freeFitnessCenterException'] as core.String
                : null,
        freeWeights: json_.containsKey('freeWeights')
            ? json_['freeWeights'] as core.bool
            : null,
        freeWeightsException: json_.containsKey('freeWeightsException')
            ? json_['freeWeightsException'] as core.String
            : null,
        massage: json_.containsKey('massage')
            ? json_['massage'] as core.bool
            : null,
        massageException: json_.containsKey('massageException')
            ? json_['massageException'] as core.String
            : null,
        salon:
            json_.containsKey('salon') ? json_['salon'] as core.bool : null,
        salonException: json_.containsKey('salonException')
            ? json_['salonException'] as core.String
            : null,
        sauna:
            json_.containsKey('sauna') ? json_['sauna'] as core.bool : null,
        saunaException: json_.containsKey('saunaException')
            ? json_['saunaException'] as core.String
            : null,
        spa: json_.containsKey('spa') ? json_['spa'] as core.bool : null,
        spaException: json_.containsKey('spaException')
            ? json_['spaException'] as core.String
            : null,
        treadmill: json_.containsKey('treadmill')
            ? json_['treadmill'] as core.bool
            : null,
        treadmillException: json_.containsKey('treadmillException')
            ? json_['treadmillException'] as core.String
            : null,
        weightMachine: json_.containsKey('weightMachine')
            ? json_['weightMachine'] as core.bool
            : null,
        weightMachineException: json_.containsKey('weightMachineException')
            ? json_['weightMachineException'] as core.String
            : null,
      );