DNRInfo({required List<Ruleset> ruleResources}) : _wrapped = $js.DNRInfo(rule_resources: ruleResources.toJSArray((e) => e.toJS));