setPropertyRulePropertyName method

Future<Value> setPropertyRulePropertyName(
  1. StyleSheetId styleSheetId,
  2. SourceRange range,
  3. String propertyName
)

Modifies the property rule property name. Returns: The resulting key text after modification.

Implementation

Future<Value> setPropertyRulePropertyName(
    StyleSheetId styleSheetId, SourceRange range, String propertyName) async {
  var result = await _client.send('CSS.setPropertyRulePropertyName', {
    'styleSheetId': styleSheetId,
    'range': range,
    'propertyName': propertyName,
  });
  return Value.fromJson(result['propertyName'] as Map<String, dynamic>);
}