toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final clusters = this.clusters;
  final daviesBouldinIndex = this.daviesBouldinIndex;
  final meanSquaredDistance = this.meanSquaredDistance;
  return {
    'clusters': ?clusters,
    'daviesBouldinIndex': ?daviesBouldinIndex,
    'meanSquaredDistance': ?meanSquaredDistance,
  };
}