toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'type': _type,
    'amount': _amount,
    'pods': _pods,
    'fuel_1': _fuel1,
    'fuel_2': _fuel2,
    'isp': _isp,
    'thrust': _thrust.toJson(),
  };
}