MatchedRuleInfo constructor

MatchedRuleInfo({
  1. required MatchedRule rule,
  2. required double timeStamp,
  3. required int tabId,
})

Implementation

MatchedRuleInfo({
  required MatchedRule rule,

  /// The time the rule was matched. Timestamps will correspond to the
  /// Javascript convention for times, i.e. number of milliseconds since the
  /// epoch.
  required double timeStamp,

  /// The tabId of the tab from which the request originated if the tab is
  /// still active. Else -1.
  required int tabId,
}) : _wrapped = $js.MatchedRuleInfo(
        rule: rule.toJS,
        timeStamp: timeStamp,
        tabId: tabId,
      );