toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'initialBatchSamplePercentage': ?initialBatchSamplePercentage,
  'followingBatchSamplePercentage': ?followingBatchSamplePercentage,
  if (sampleStrategy.isNotDefault) 'sampleStrategy': sampleStrategy.toJson(),
};