FlightLocation.fromJson constructor

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

Implementation

FlightLocation.fromJson(Map<String, dynamic> json)
    : this.latitude = double.parse(json['latitude'].toString()),
      this.longitude = double.parse(json['longitude'].toString()),
      this.altitude = double.parse(json['altitude'].toString());