setStyleTexts method
Applies specified style edits one after another in the given order. Returns: The resulting styles after modification.
Implementation
Future<List<CSSStyle>> setStyleTexts(List<StyleDeclarationEdit> edits) async {
var result = await _client.send('CSS.setStyleTexts', {
'edits': [...edits],
});
return (result['styles'] as List)
.map((e) => CSSStyle.fromJson(e as Map<String, dynamic>))
.toList();
}