toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (compostableFoodContainersAndCutlery != null)
        'compostableFoodContainersAndCutlery':
            compostableFoodContainersAndCutlery!,
      if (compostableFoodContainersAndCutleryException != null)
        'compostableFoodContainersAndCutleryException':
            compostableFoodContainersAndCutleryException!,
      if (compostsExcessFood != null)
        'compostsExcessFood': compostsExcessFood!,
      if (compostsExcessFoodException != null)
        'compostsExcessFoodException': compostsExcessFoodException!,
      if (donatesExcessFood != null) 'donatesExcessFood': donatesExcessFood!,
      if (donatesExcessFoodException != null)
        'donatesExcessFoodException': donatesExcessFoodException!,
      if (foodWasteReductionProgram != null)
        'foodWasteReductionProgram': foodWasteReductionProgram!,
      if (foodWasteReductionProgramException != null)
        'foodWasteReductionProgramException':
            foodWasteReductionProgramException!,
      if (noSingleUsePlasticStraws != null)
        'noSingleUsePlasticStraws': noSingleUsePlasticStraws!,
      if (noSingleUsePlasticStrawsException != null)
        'noSingleUsePlasticStrawsException':
            noSingleUsePlasticStrawsException!,
      if (noSingleUsePlasticWaterBottles != null)
        'noSingleUsePlasticWaterBottles': noSingleUsePlasticWaterBottles!,
      if (noSingleUsePlasticWaterBottlesException != null)
        'noSingleUsePlasticWaterBottlesException':
            noSingleUsePlasticWaterBottlesException!,
      if (noStyrofoamFoodContainers != null)
        'noStyrofoamFoodContainers': noStyrofoamFoodContainers!,
      if (noStyrofoamFoodContainersException != null)
        'noStyrofoamFoodContainersException':
            noStyrofoamFoodContainersException!,
      if (recyclingProgram != null) 'recyclingProgram': recyclingProgram!,
      if (recyclingProgramException != null)
        'recyclingProgramException': recyclingProgramException!,
      if (refillableToiletryContainers != null)
        'refillableToiletryContainers': refillableToiletryContainers!,
      if (refillableToiletryContainersException != null)
        'refillableToiletryContainersException':
            refillableToiletryContainersException!,
      if (safelyDisposesBatteries != null)
        'safelyDisposesBatteries': safelyDisposesBatteries!,
      if (safelyDisposesBatteriesException != null)
        'safelyDisposesBatteriesException': safelyDisposesBatteriesException!,
      if (safelyDisposesElectronics != null)
        'safelyDisposesElectronics': safelyDisposesElectronics!,
      if (safelyDisposesElectronicsException != null)
        'safelyDisposesElectronicsException':
            safelyDisposesElectronicsException!,
      if (safelyDisposesLightbulbs != null)
        'safelyDisposesLightbulbs': safelyDisposesLightbulbs!,
      if (safelyDisposesLightbulbsException != null)
        'safelyDisposesLightbulbsException':
            safelyDisposesLightbulbsException!,
      if (safelyHandlesHazardousSubstances != null)
        'safelyHandlesHazardousSubstances': safelyHandlesHazardousSubstances!,
      if (safelyHandlesHazardousSubstancesException != null)
        'safelyHandlesHazardousSubstancesException':
            safelyHandlesHazardousSubstancesException!,
      if (soapDonationProgram != null)
        'soapDonationProgram': soapDonationProgram!,
      if (soapDonationProgramException != null)
        'soapDonationProgramException': soapDonationProgramException!,
      if (toiletryDonationProgram != null)
        'toiletryDonationProgram': toiletryDonationProgram!,
      if (toiletryDonationProgramException != null)
        'toiletryDonationProgramException': toiletryDonationProgramException!,
      if (waterBottleFillingStations != null)
        'waterBottleFillingStations': waterBottleFillingStations!,
      if (waterBottleFillingStationsException != null)
        'waterBottleFillingStationsException':
            waterBottleFillingStationsException!,
    };