Rocket constructor

Rocket({
  1. required Diameter height,
  2. required Diameter diameter,
  3. required Mass mass,
  4. required FirstStage firstStage,
  5. required SecondStage secondStage,
  6. required Engines engines,
  7. required LandingLegs landingLegs,
  8. required List<PayloadWeights> payloadWeights,
  9. required List<String> flickrImages,
  10. required String name,
  11. required String type,
  12. required bool active,
  13. required num stages,
  14. required num boosters,
  15. required num costPerLaunch,
  16. required num successRatePct,
  17. required String firstFlight,
  18. required String country,
  19. required String company,
  20. required String wikipedia,
  21. required String description,
  22. required String id,
})

Implementation

Rocket({
  required this.height,
  required this.diameter,
  required this.mass,
  required this.firstStage,
  required this.secondStage,
  required this.engines,
  required this.landingLegs,
  required this.payloadWeights,
  required this.flickrImages,
  required this.name,
  required this.type,
  required this.active,
  required this.stages,
  required this.boosters,
  required this.costPerLaunch,
  required this.successRatePct,
  required this.firstFlight,
  required this.country,
  required this.company,
  required this.wikipedia,
  required this.description,
  required this.id,
});