Properties.fromJson constructor

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

Implementation

factory Properties.fromJson(Map<String, dynamic> json) => Properties(
    segments: List<Segment>.from(json["segments"].map((x) => Segment.fromJson(x))),
    summary: Summary.fromJson(json["summary"]),
    wayPoints: List<int>.from(json["way_points"].map((x) => x)),
);