setPaused method

Future<void> setPaused(
  1. List<String> animations,
  2. bool paused
)

Sets the paused state of a set of animations. animations Animations to set the pause state of. paused Paused state to set to.

Implementation

Future<void> setPaused(List<String> animations, bool paused) async {
  await _client.send('Animation.setPaused', {
    'animations': [...animations],
    'paused': paused,
  });
}