$TraceSamplingConfig.fromJson constructor
$TraceSamplingConfig.fromJson(
- Map json_
Implementation
$TraceSamplingConfig.fromJson(core.Map json_)
: this(
sampler: json_.containsKey('sampler')
? json_['sampler'] as core.String
: null,
samplingRate: json_.containsKey('samplingRate')
? (json_['samplingRate'] as core.num).toDouble()
: null,
);