toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'samplingCount': ?samplingCount,
  'flipEnabled': ?flipEnabled,
  if (autoraterModel.isNotDefault) 'autoraterModel': autoraterModel,
  'generationConfig': ?generationConfig?.toJson(),
};