WasteReduction.fromJson constructor
WasteReduction.fromJson(
- Map json_
Implementation
WasteReduction.fromJson(core.Map json_)
: this(
compostableFoodContainersAndCutlery:
json_.containsKey('compostableFoodContainersAndCutlery')
? json_['compostableFoodContainersAndCutlery'] as core.bool
: null,
compostableFoodContainersAndCutleryException:
json_.containsKey('compostableFoodContainersAndCutleryException')
? json_['compostableFoodContainersAndCutleryException']
as core.String
: null,
compostsExcessFood: json_.containsKey('compostsExcessFood')
? json_['compostsExcessFood'] as core.bool
: null,
compostsExcessFoodException:
json_.containsKey('compostsExcessFoodException')
? json_['compostsExcessFoodException'] as core.String
: null,
donatesExcessFood: json_.containsKey('donatesExcessFood')
? json_['donatesExcessFood'] as core.bool
: null,
donatesExcessFoodException:
json_.containsKey('donatesExcessFoodException')
? json_['donatesExcessFoodException'] as core.String
: null,
foodWasteReductionProgram:
json_.containsKey('foodWasteReductionProgram')
? json_['foodWasteReductionProgram'] as core.bool
: null,
foodWasteReductionProgramException:
json_.containsKey('foodWasteReductionProgramException')
? json_['foodWasteReductionProgramException'] as core.String
: null,
noSingleUsePlasticStraws:
json_.containsKey('noSingleUsePlasticStraws')
? json_['noSingleUsePlasticStraws'] as core.bool
: null,
noSingleUsePlasticStrawsException:
json_.containsKey('noSingleUsePlasticStrawsException')
? json_['noSingleUsePlasticStrawsException'] as core.String
: null,
noSingleUsePlasticWaterBottles:
json_.containsKey('noSingleUsePlasticWaterBottles')
? json_['noSingleUsePlasticWaterBottles'] as core.bool
: null,
noSingleUsePlasticWaterBottlesException: json_
.containsKey('noSingleUsePlasticWaterBottlesException')
? json_['noSingleUsePlasticWaterBottlesException'] as core.String
: null,
noStyrofoamFoodContainers:
json_.containsKey('noStyrofoamFoodContainers')
? json_['noStyrofoamFoodContainers'] as core.bool
: null,
noStyrofoamFoodContainersException:
json_.containsKey('noStyrofoamFoodContainersException')
? json_['noStyrofoamFoodContainersException'] as core.String
: null,
recyclingProgram: json_.containsKey('recyclingProgram')
? json_['recyclingProgram'] as core.bool
: null,
recyclingProgramException:
json_.containsKey('recyclingProgramException')
? json_['recyclingProgramException'] as core.String
: null,
refillableToiletryContainers:
json_.containsKey('refillableToiletryContainers')
? json_['refillableToiletryContainers'] as core.bool
: null,
refillableToiletryContainersException: json_
.containsKey('refillableToiletryContainersException')
? json_['refillableToiletryContainersException'] as core.String
: null,
safelyDisposesBatteries: json_.containsKey('safelyDisposesBatteries')
? json_['safelyDisposesBatteries'] as core.bool
: null,
safelyDisposesBatteriesException:
json_.containsKey('safelyDisposesBatteriesException')
? json_['safelyDisposesBatteriesException'] as core.String
: null,
safelyDisposesElectronics:
json_.containsKey('safelyDisposesElectronics')
? json_['safelyDisposesElectronics'] as core.bool
: null,
safelyDisposesElectronicsException:
json_.containsKey('safelyDisposesElectronicsException')
? json_['safelyDisposesElectronicsException'] as core.String
: null,
safelyDisposesLightbulbs:
json_.containsKey('safelyDisposesLightbulbs')
? json_['safelyDisposesLightbulbs'] as core.bool
: null,
safelyDisposesLightbulbsException:
json_.containsKey('safelyDisposesLightbulbsException')
? json_['safelyDisposesLightbulbsException'] as core.String
: null,
safelyHandlesHazardousSubstances:
json_.containsKey('safelyHandlesHazardousSubstances')
? json_['safelyHandlesHazardousSubstances'] as core.bool
: null,
safelyHandlesHazardousSubstancesException:
json_.containsKey('safelyHandlesHazardousSubstancesException')
? json_['safelyHandlesHazardousSubstancesException']
as core.String
: null,
soapDonationProgram: json_.containsKey('soapDonationProgram')
? json_['soapDonationProgram'] as core.bool
: null,
soapDonationProgramException:
json_.containsKey('soapDonationProgramException')
? json_['soapDonationProgramException'] as core.String
: null,
toiletryDonationProgram: json_.containsKey('toiletryDonationProgram')
? json_['toiletryDonationProgram'] as core.bool
: null,
toiletryDonationProgramException:
json_.containsKey('toiletryDonationProgramException')
? json_['toiletryDonationProgramException'] as core.String
: null,
waterBottleFillingStations:
json_.containsKey('waterBottleFillingStations')
? json_['waterBottleFillingStations'] as core.bool
: null,
waterBottleFillingStationsException:
json_.containsKey('waterBottleFillingStationsException')
? json_['waterBottleFillingStationsException'] as core.String
: null,
);