stopRuleUsageTracking method

Future<List<RuleUsage>> stopRuleUsageTracking()

Stop tracking rule usage and return the list of rules that were used since last call to takeCoverageDelta (or since start of coverage instrumentation).

Implementation

Future<List<RuleUsage>> stopRuleUsageTracking() async {
  var result = await _client.send('CSS.stopRuleUsageTracking');
  return (result['ruleUsage'] as List)
      .map((e) => RuleUsage.fromJson(e as Map<String, dynamic>))
      .toList();
}