-
-
Save TechieBlossom/f4922bc5b5a06bef59ce88c0c75ab24a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MovieCarouselBloc extends Bloc<MovieCarouselEvent, MovieCarouselState> { | |
//1 | |
final GetTrending getTrending; | |
//2 | |
MovieCarouselBloc({ | |
@required this.getTrending, | |
}) : super(MovieCarouselInitial()); | |
@override | |
Stream<MovieCarouselState> mapEventToState( | |
MovieCarouselEvent event, | |
) async* { | |
//TODO: handle the event to state | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment