GpsPathInfo.fromJson constructor

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

Implementation

factory GpsPathInfo.fromJson(Map<String, dynamic> json) => GpsPathInfo(
      time: json["time"] ?? -1,
      locationList: List<Location>.from((json["locationList"] ?? []).map((x) => (Location.fromJson(x)))),
    );