handlePresentationSlideIndex method

void handlePresentationSlideIndex(
  1. Map data
)

Implementation

void handlePresentationSlideIndex(Map<dynamic, dynamic> data) {
  state.currentSlideIndex = int.tryParse(data['slideIndex'].toString()) ?? 0;
  _slideUpdatesStreamController.add(true);
  emit('presentation');
}