toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (durationMs != null) 'durationMs': durationMs!,
if (evalLoss != null) 'evalLoss': evalLoss!,
if (index != null) 'index': index!,
if (learnRate != null) 'learnRate': learnRate!,
if (trainingLoss != null) 'trainingLoss': trainingLoss!,
};