toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final datapoint = this.datapoint;
  final distance = this.distance;
  final sparseDistance = this.sparseDistance;
  return {
    'datapoint': ?datapoint,
    'distance': ?distance,
    'sparseDistance': ?sparseDistance,
  };
}