updateSlide method

dynamic updateSlide(
  1. SlideUpdate slidUpdate
)

Method to update the slideUpdate and it directly calls updateData

Implementation

updateSlide(SlideUpdate slidUpdate) {
  slideUpdate = slidUpdate;
  updateData(slidUpdate);
  notifyListeners();
}