setKeyframeKey method

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

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

Implementation

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