Rule.fromJson constructor

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

Implementation

factory Rule.fromJson(Map<String, dynamic> json) {
  return Rule(
    detectorId: json['detectorId'] as String,
    ruleId: json['ruleId'] as String,
    ruleVersion: json['ruleVersion'] as String,
  );
}