setPlaybackRate method

Future<void> setPlaybackRate(
  1. num playbackRate
)

Sets the playback rate of the document timeline. playbackRate Playback rate for animations on page

Implementation

Future<void> setPlaybackRate(num playbackRate) async {
  await _client.send('Animation.setPlaybackRate', {
    'playbackRate': playbackRate,
  });
}