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