@override Object toJson() => { if (randomSampleConfig != null) 'randomSampleConfig': randomSampleConfig!.toJson(), };