CreateSamplingRuleResult.fromJson constructor

CreateSamplingRuleResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateSamplingRuleResult.fromJson(Map<String, dynamic> json) {
  return CreateSamplingRuleResult(
    samplingRuleRecord: json['SamplingRuleRecord'] != null
        ? SamplingRuleRecord.fromJson(
            json['SamplingRuleRecord'] as Map<String, dynamic>)
        : null,
  );
}