Feature.fromJson constructor

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

Implementation

factory Feature.fromJson(Map<String, dynamic> json) => Feature(
    bbox: List<double>.from(json["bbox"].map((x) => x?.toDouble())),
    type: json["type"],
    properties: Properties.fromJson(json["properties"]),
    geometry: Geometry.fromJson(json["geometry"]),
);