AddSavedAnimation constructor

const AddSavedAnimation(
  1. {required InputFile animation}
)

Manually adds a new animation to the list of saved animations. The new animation is added to the beginning of the list. If the animation was already in the list, it is removed first. Only non-secret video animations with MIME type "video/mp4" can be added to the list

Implementation

const AddSavedAnimation({
  required this.animation,
});