cubits/request_cubit library

Classes

RequestCubit<R extends BaseRepository<BaseService, dynamic>, T>
Cubit that simplyfies state and repository management. It uses RequestState as the main state, with the specific type T. The repository R is also used to download the data. Events are emited from the loadData method, to signify the change of state within the network request process.