getPlaybackRate method

Future<num> getPlaybackRate()

Gets the playback rate of the document timeline. Returns: Playback rate for animations on page.

Implementation

Future<num> getPlaybackRate() async {
  var result = await _client.send('Animation.getPlaybackRate');
  return result['playbackRate'] as num;
}