UpdateStaticRulesOptions constructor

UpdateStaticRulesOptions({
  1. required String rulesetId,
  2. List<int>? disableRuleIds,
  3. List<int>? enableRuleIds,
})

Implementation

UpdateStaticRulesOptions({
  /// The id corresponding to a static [Ruleset].
  required String rulesetId,

  /// Set of ids corresponding to rules in the [Ruleset] to disable.
  List<int>? disableRuleIds,

  /// Set of ids corresponding to rules in the [Ruleset] to enable.
  List<int>? enableRuleIds,
}) : _wrapped = $js.UpdateStaticRulesOptions(
        rulesetId: rulesetId,
        disableRuleIds: disableRuleIds?.toJSArray((e) => e),
        enableRuleIds: enableRuleIds?.toJSArray((e) => e),
      );