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