SamplingStrategy.fromJson constructor
SamplingStrategy.fromJson(
- Object? j
Implementation
factory SamplingStrategy.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return SamplingStrategy(
randomSampleConfig: switch (json['randomSampleConfig']) {
null => null,
Object $1 => SamplingStrategy_RandomSampleConfig.fromJson($1),
},
);
}