toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (key != null) 'key': key!,
if (testFraction != null) 'testFraction': testFraction!,
if (trainingFraction != null) 'trainingFraction': trainingFraction!,
if (validationFraction != null)
'validationFraction': validationFraction!,
};