Map<String, dynamic> toJson() { return { 'ruleIdMatched': ruleIdMatched, 'matchedSourceType': matchedSourceType.toJson(), }; }