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