toJson method

Map<String, dynamic> toJson()

Implementation

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