PhotosCubit constructor Null safety
- {required GetAlbumPhotos getAlbumPhotos,
- required GetAllPhotos getAllPhotos}
Creates the cubit.
Implementation
PhotosCubit({
required GetAlbumPhotos getAlbumPhotos,
required GetAllPhotos getAllPhotos,
}) : _getAlbumPhotos = getAlbumPhotos,
_getAllPhotos = getAllPhotos,
super(const PhotosState.initial());