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