Thrusters.fromJson constructor

Thrusters.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Thrusters.fromJson(Map<String, dynamic> json)
    : _type = json['type'],
      _amount = json['amount'],
      _pods = json['pods'],
      _fuel1 = json['fuel_1'],
      _fuel2 = json['fuel_2'],
      _isp = json['isp'],
      _thrust = Thrust.fromJson(json['thrust'] ?? {});