toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (energyEfficiency != null) 'energyEfficiency': energyEfficiency!,
      if (sustainabilityCertifications != null)
        'sustainabilityCertifications': sustainabilityCertifications!,
      if (sustainableSourcing != null)
        'sustainableSourcing': sustainableSourcing!,
      if (wasteReduction != null) 'wasteReduction': wasteReduction!,
      if (waterConservation != null) 'waterConservation': waterConservation!,
    };