StepWay.fromMap constructor
Implementation
factory StepWay.fromMap(Map<String, dynamic> json) => StepWay(
distance: json["distance"],
duration: json["duration"],
type: json["type"],
instruction: json["instruction"],
name: json["name"],
wayPonums: json["way_points"] == null
? []
: List<num>.from(json["way_points"]!.map((x) => x)),
);