setScopeText method
Modifies the expression of a scope at-rule. Returns: The resulting CSS Scope rule after modification.
Implementation
Future<CSSScope> setScopeText(
StyleSheetId styleSheetId, SourceRange range, String text) async {
var result = await _client.send('CSS.setScopeText', {
'styleSheetId': styleSheetId,
'range': range,
'text': text,
});
return CSSScope.fromJson(result['scope'] as Map<String, dynamic>);
}