Sustainability.fromJson constructor
Sustainability.fromJson(
- Map json_
Implementation
Sustainability.fromJson(core.Map json_)
: this(
energyEfficiency: json_.containsKey('energyEfficiency')
? EnergyEfficiency.fromJson(json_['energyEfficiency']
as core.Map<core.String, core.dynamic>)
: null,
sustainabilityCertifications:
json_.containsKey('sustainabilityCertifications')
? SustainabilityCertifications.fromJson(
json_['sustainabilityCertifications']
as core.Map<core.String, core.dynamic>)
: null,
sustainableSourcing: json_.containsKey('sustainableSourcing')
? SustainableSourcing.fromJson(json_['sustainableSourcing']
as core.Map<core.String, core.dynamic>)
: null,
wasteReduction: json_.containsKey('wasteReduction')
? WasteReduction.fromJson(json_['wasteReduction']
as core.Map<core.String, core.dynamic>)
: null,
waterConservation: json_.containsKey('waterConservation')
? WaterConservation.fromJson(json_['waterConservation']
as core.Map<core.String, core.dynamic>)
: null,
);