setTiming method

Future<void> setTiming(
  1. String animationId,
  2. num duration,
  3. num delay
)

Sets the timing of an animation node. animationId Animation id. duration Duration of the animation. delay Delay of the animation.

Implementation

Future<void> setTiming(String animationId, num duration, num delay) async {
  await _client.send('Animation.setTiming', {
    'animationId': animationId,
    'duration': duration,
    'delay': delay,
  });
}