toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cumulativeExplainedVarianceRatio != null)
'cumulativeExplainedVarianceRatio': cumulativeExplainedVarianceRatio!,
if (explainedVariance != null) 'explainedVariance': explainedVariance!,
if (explainedVarianceRatio != null)
'explainedVarianceRatio': explainedVarianceRatio!,
if (principalComponentId != null)
'principalComponentId': principalComponentId!,
};