Animation constructor

Animation({
  1. required String id,
  2. required String name,
  3. required bool pausedState,
  4. required String playState,
  5. required num playbackRate,
  6. required num startTime,
  7. required num currentTime,
  8. required AnimationType type,
  9. AnimationEffect? source,
  10. String? cssId,
  11. ViewOrScrollTimeline? viewOrScrollTimeline,
})

Implementation

Animation(
    {required this.id,
    required this.name,
    required this.pausedState,
    required this.playState,
    required this.playbackRate,
    required this.startTime,
    required this.currentTime,
    required this.type,
    this.source,
    this.cssId,
    this.viewOrScrollTimeline});