getStyleSheetText method

Future<String> getStyleSheetText(
  1. StyleSheetId styleSheetId
)

Returns the current textual content for a stylesheet. Returns: The stylesheet text.

Implementation

Future<String> getStyleSheetText(StyleSheetId styleSheetId) async {
  var result = await _client.send('CSS.getStyleSheetText', {
    'styleSheetId': styleSheetId,
  });
  return result['text'] as String;
}