toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "type": type,
      "list": List<dynamic>.from(list.map((x) => x)),
      "gpsPathInfo": gpsPathInfo.toJson(),
      "location": location.toJson(),
      "progress": progress,
    };