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