toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'name': _name,
'type': _type,
'reused': _reused,
'launch': _launch,
'customers': _customers,
'norad_ids': _noradIds,
'nationalities': _nationalities,
'manufacturers': _manufacturers,
'mass_kg': _massKg,
'mass_lbs': _massLbs,
'orbit': _orbit,
'reference_system': _referenceSystem,
'regime': _regime,
'longitude': _longitude,
'semi_major_axis_km': _semiMajorAxisKm,
'eccentricity': _eccentricity,
'periapsis_km': _periapsisKm,
'apoapsis_km': _apoapsisKm,
'inclination_deg': _inclinationDeg,
'period_min': _periodMin,
'lifespan_years': _lifespanYears,
'epoch': _epoch,
'mean_motion': _meanMotion,
'raan': _raan,
'arg_of_pericenter': _argOfPericenter,
'mean_anomaly': _meanAnomaly,
'id': _id,
};
}