SampledHTTPRequest.fromJson constructor
Implementation
factory SampledHTTPRequest.fromJson(Map<String, dynamic> json) {
return SampledHTTPRequest(
request: HTTPRequest.fromJson(json['Request'] as Map<String, dynamic>),
weight: json['Weight'] as int,
action: json['Action'] as String?,
ruleNameWithinRuleGroup: json['RuleNameWithinRuleGroup'] as String?,
timestamp: timeStampFromJson(json['Timestamp']),
);
}