toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "date": date.toIso8601String(),
      "computed_at": timestamp.toIso8601String(),
      "num_of_stops": stops.length,
      "num_of_moves": moves.length,
      "num_of_significant_places": significantPlaces.length,
      "normalized_entropy": normalizedEntropy,
      "home_stay": homeStay,
      "distance_travelled": distanceTravelled,
      "location_variance": locationVariance
    };