toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (iterationResults != null) 'iterationResults': iterationResults!,
if (startTime != null)
'startTime': startTime!.toUtc().toIso8601String(),
if (state != null) 'state': state!,
if (trainingOptions != null) 'trainingOptions': trainingOptions!,
};