initSubtitles method
Implementation
Future<void> initSubtitles({
required Emitter<SubtitleState> emit,
}) async {
emit(SubtitleInitializing());
subtitles = await subtitleRepository.getSubtitles();
emit(SubtitleInitialized());
}
Future<void> initSubtitles({
required Emitter<SubtitleState> emit,
}) async {
emit(SubtitleInitializing());
subtitles = await subtitleRepository.getSubtitles();
emit(SubtitleInitialized());
}