UpdateRuleOptions constructor

UpdateRuleOptions({
  1. List<int>? removeRuleIds,
  2. List<Rule>? addRules,
})

Implementation

UpdateRuleOptions({
  /// IDs of the rules to remove. Any invalid IDs will be ignored.
  List<int>? removeRuleIds,

  /// Rules to add.
  List<Rule>? addRules,
}) : _wrapped = $js.UpdateRuleOptions(
        removeRuleIds: removeRuleIds?.toJSArray((e) => e),
        addRules: addRules?.toJSArray((e) => e.toJS),
      );