FlightElement.fromJson constructor Null safety
Implementation
FlightElement.fromJson(Map<String, dynamic> json)
: this.type = EnumConvertion.convertFromString(
FlightElementType.values, json['type']);
FlightElement.fromJson(Map<String, dynamic> json)
: this.type = EnumConvertion.convertFromString(
FlightElementType.values, json['type']);