DrawRouting.fromMap constructor
Implementation
factory DrawRouting.fromMap(Map<String, dynamic> json) => DrawRouting(
type: json["type"],
bbox: json["bbox"] == null
? []
: List<num>.from(json["bbox"]?.map((x) => x)),
features: json["features"] == null
? []
: List<Feature>.from(
json["features"]!.map((x) => Feature.fromMap(x))),
metadata: json["metadata"] == null
? null
: Metadata.fromMap(json["metadata"]),
);