$TraceSamplingConfig.fromJson constructor

$TraceSamplingConfig.fromJson(
  1. 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,
      );