LivingAreaEating.fromJson constructor

LivingAreaEating.fromJson(
  1. Map json_
)

Implementation

LivingAreaEating.fromJson(core.Map json_)
    : this(
        coffeeMaker: json_.containsKey('coffeeMaker')
            ? json_['coffeeMaker'] as core.bool
            : null,
        coffeeMakerException: json_.containsKey('coffeeMakerException')
            ? json_['coffeeMakerException'] as core.String
            : null,
        cookware: json_.containsKey('cookware')
            ? json_['cookware'] as core.bool
            : null,
        cookwareException: json_.containsKey('cookwareException')
            ? json_['cookwareException'] as core.String
            : null,
        dishwasher: json_.containsKey('dishwasher')
            ? json_['dishwasher'] as core.bool
            : null,
        dishwasherException: json_.containsKey('dishwasherException')
            ? json_['dishwasherException'] as core.String
            : null,
        indoorGrill: json_.containsKey('indoorGrill')
            ? json_['indoorGrill'] as core.bool
            : null,
        indoorGrillException: json_.containsKey('indoorGrillException')
            ? json_['indoorGrillException'] as core.String
            : null,
        kettle:
            json_.containsKey('kettle') ? json_['kettle'] as core.bool : null,
        kettleException: json_.containsKey('kettleException')
            ? json_['kettleException'] as core.String
            : null,
        kitchenAvailable: json_.containsKey('kitchenAvailable')
            ? json_['kitchenAvailable'] as core.bool
            : null,
        kitchenAvailableException:
            json_.containsKey('kitchenAvailableException')
                ? json_['kitchenAvailableException'] as core.String
                : null,
        microwave: json_.containsKey('microwave')
            ? json_['microwave'] as core.bool
            : null,
        microwaveException: json_.containsKey('microwaveException')
            ? json_['microwaveException'] as core.String
            : null,
        minibar: json_.containsKey('minibar')
            ? json_['minibar'] as core.bool
            : null,
        minibarException: json_.containsKey('minibarException')
            ? json_['minibarException'] as core.String
            : null,
        outdoorGrill: json_.containsKey('outdoorGrill')
            ? json_['outdoorGrill'] as core.bool
            : null,
        outdoorGrillException: json_.containsKey('outdoorGrillException')
            ? json_['outdoorGrillException'] as core.String
            : null,
        oven: json_.containsKey('oven') ? json_['oven'] as core.bool : null,
        ovenException: json_.containsKey('ovenException')
            ? json_['ovenException'] as core.String
            : null,
        refrigerator: json_.containsKey('refrigerator')
            ? json_['refrigerator'] as core.bool
            : null,
        refrigeratorException: json_.containsKey('refrigeratorException')
            ? json_['refrigeratorException'] as core.String
            : null,
        sink: json_.containsKey('sink') ? json_['sink'] as core.bool : null,
        sinkException: json_.containsKey('sinkException')
            ? json_['sinkException'] as core.String
            : null,
        snackbar: json_.containsKey('snackbar')
            ? json_['snackbar'] as core.bool
            : null,
        snackbarException: json_.containsKey('snackbarException')
            ? json_['snackbarException'] as core.String
            : null,
        stove:
            json_.containsKey('stove') ? json_['stove'] as core.bool : null,
        stoveException: json_.containsKey('stoveException')
            ? json_['stoveException'] as core.String
            : null,
        teaStation: json_.containsKey('teaStation')
            ? json_['teaStation'] as core.bool
            : null,
        teaStationException: json_.containsKey('teaStationException')
            ? json_['teaStationException'] as core.String
            : null,
        toaster: json_.containsKey('toaster')
            ? json_['toaster'] as core.bool
            : null,
        toasterException: json_.containsKey('toasterException')
            ? json_['toasterException'] as core.String
            : null,
      );