toJson method
Implementation
@override
Object toJson() => {
if (totalSlotMs.isNotDefault) 'totalSlotMs': encodeInt64(totalSlotMs),
if (featureStatsAndAnomalies.isNotDefault)
'featureStatsAndAnomalies': encodeList(featureStatsAndAnomalies),
};