toJson method

Map<String, dynamic> toJson()

Implementation

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