Query.fromJson constructor

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

Implementation

factory Query.fromJson(Map<String, dynamic> json) => Query(
    coordinates: List<List<double>>.from(json["coordinates"].map((x) => List<double>.from(x.map((x) => x?.toDouble())))),
    profile: json["profile"],
    format: json["format"],
);