FlightVector.fromJson constructor

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

Implementation

FlightVector.fromJson(Map<String, dynamic> json)
    : this.distanceFromPointOfInterest =
          double.parse(json['distanceFromPointOfInterest'].toString()),
      this.headingRelativeToPointOfInterest =
          double.parse(json['headingRelativeToPointOfInterest'].toString()),
      this.destinationAltitude =
          double.parse(json['destinationAltitude'].toString());