GeoJsonFeature.fromJson constructor
Implementation
GeoJsonFeature.fromJson(Map<String, dynamic> json)
: type = json['type'],
properties = json['properties'],
geometry = GeoJsonFeatureGeometry.fromJson(json['geometry']),
bbox = json['bbox'] == null
? null
: <ORSCoordinate>[
ORSCoordinate(
longitude: json['bbox'][0],
latitude: json['bbox'][1],
),
ORSCoordinate(
longitude: json['bbox'][2],
latitude: json['bbox'][3],
),
];