RuleAction.fromJson constructor
Implementation
factory RuleAction.fromJson(Map<String, dynamic> json) {
return RuleAction(
allow: json['Allow'] != null
? AllowAction.fromJson(json['Allow'] as Map<String, dynamic>)
: null,
block: json['Block'] != null
? BlockAction.fromJson(json['Block'] as Map<String, dynamic>)
: null,
count: json['Count'] != null
? CountAction.fromJson(json['Count'] as Map<String, dynamic>)
: null,
);
}