PathMatch.fromJson constructor
Implementation
factory PathMatch.fromJson(Map<String, dynamic> json) {
return PathMatch(
path: json['path'],
coords: Coordinates.fromJson(json['coords']),
distance: json['distance'],
segment: json['segment'],
);
}