toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (averageRank != null) 'averageRank': averageRank!,
      if (meanAveragePrecision != null)
        'meanAveragePrecision': meanAveragePrecision!,
      if (meanSquaredError != null) 'meanSquaredError': meanSquaredError!,
      if (normalizedDiscountedCumulativeGain != null)
        'normalizedDiscountedCumulativeGain':
            normalizedDiscountedCumulativeGain!,
    };