SamplingTargetDocument.fromJson constructor
Implementation
factory SamplingTargetDocument.fromJson(Map<String, dynamic> json) {
return SamplingTargetDocument(
fixedRate: json['FixedRate'] as double?,
interval: json['Interval'] as int?,
reservoirQuota: json['ReservoirQuota'] as int?,
reservoirQuotaTTL: timeStampFromJson(json['ReservoirQuotaTTL']),
ruleName: json['RuleName'] as String?,
);
}