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