toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (freeGarageParking != null) 'freeGarageParking': freeGarageParking!,
      if (freeParkingLot != null) 'freeParkingLot': freeParkingLot!,
      if (freeStreetParking != null) 'freeStreetParking': freeStreetParking!,
      if (paidGarageParking != null) 'paidGarageParking': paidGarageParking!,
      if (paidParkingLot != null) 'paidParkingLot': paidParkingLot!,
      if (paidStreetParking != null) 'paidStreetParking': paidStreetParking!,
      if (valetParking != null) 'valetParking': valetParking!,
    };