FlightElement.fromJson constructor

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

Implementation

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