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 PesquisasBloc implements BlocBase { | |
//declarando meu service API | |
Api api; | |
//instanciando uma lista para armazenar meus dados | |
List<Post> posts; | |
//criando controles de saida de saida | |
final StreamController<List<Post>> _postsController = | |
StreamController<List<Post>>(); |