toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (featureDisplayName != null)
        'featureDisplayName': featureDisplayName!,
      if (predictionStats != null) 'predictionStats': predictionStats!,
      if (threshold != null) 'threshold': threshold!,
      if (trainingStats != null) 'trainingStats': trainingStats!,
    };