MatchedRule constructor

MatchedRule({
  1. required int ruleId,
  2. required String rulesetId,
})

Implementation

MatchedRule({
  /// A matching rule's ID.
  required int ruleId,

  /// ID of the [Ruleset] this rule belongs to. For a rule originating
  /// from the set of dynamic rules, this will be equal to
  /// [DYNAMIC_RULESET_ID].
  required String rulesetId,
}) : _wrapped = $js.MatchedRule(
        ruleId: ruleId,
        rulesetId: rulesetId,
      );