setRuleSelector method
Future<SelectorList>
setRuleSelector(
- StyleSheetId styleSheetId,
- SourceRange range,
- String selector
Modifies the rule selector. Returns: The resulting selector list after modification.
Implementation
Future<SelectorList> setRuleSelector(
StyleSheetId styleSheetId, SourceRange range, String selector) async {
var result = await _client.send('CSS.setRuleSelector', {
'styleSheetId': styleSheetId,
'range': range,
'selector': selector,
});
return SelectorList.fromJson(
result['selectorList'] as Map<String, dynamic>);
}