AviRoute.fromMap constructor
Implementation
AviRoute.fromMap(Map<String, dynamic> map)
: startLatitude = map['startLatitude'].toDouble(),
startLongitude = map['startLongitude'].toDouble(),
endLatitude = map['endLatitude'].toDouble(),
endLongitude = map['endLongitude'].toDouble(),
bearing = map['bearing'].toDouble(),
distance = map['distance'].toDouble(),
time = map['time'],
routeBounds = map['routeBounds'] != null ? AviRouteBounds.fromMap(map['routeBounds']) : null,
encodedPoints = map['encodedPoints']
;