Rocket class

Constructors

Rocket({required Diameter height, required Diameter diameter, required Mass mass, required FirstStage firstStage, required SecondStage secondStage, required Engines engines, required LandingLegs landingLegs, required List<PayloadWeights> payloadWeights, required List<String> flickrImages, required String name, required String type, required bool active, required num stages, required num boosters, required num costPerLaunch, required num successRatePct, required String firstFlight, required String country, required String company, required String wikipedia, required String description, required String id})
Rocket.fromJson(Map<String, dynamic> json)
factory

Properties

active bool
final
boosters num
final
company String
final
costPerLaunch num
final
country String
final
description String
final
diameter Diameter
final
engines Engines
final
firstFlight String
final
firstStage FirstStage
final
flickrImages List<String>
final
hashCode int
The hash code for this object.
no setterinherited
height Diameter
final
id String
final
landingLegs LandingLegs
final
mass Mass
final
name String
final
payloadWeights List<PayloadWeights>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondStage SecondStage
final
stages num
final
successRatePct num
final
type String
final
wikipedia String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited