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