toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (name != null) 'name': name!,
if (parameters != null) 'parameters': parameters!,
if (searchTrial != null) 'searchTrial': searchTrial!,
if (trainTrial != null) 'trainTrial': trainTrial!,
};