toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (meanAbsoluteError != null) 'meanAbsoluteError': meanAbsoluteError!,
if (meanSquaredError != null) 'meanSquaredError': meanSquaredError!,
if (meanSquaredLogError != null)
'meanSquaredLogError': meanSquaredLogError!,
if (medianAbsoluteError != null)
'medianAbsoluteError': medianAbsoluteError!,
if (rSquared != null) 'rSquared': rSquared!,
};