AlbumCubit constructor Null safety
- {required GetAlbum getAlbum}
Creates the cubit.
Implementation
AlbumCubit({
required GetAlbum getAlbum,
}) : _getAlbum = getAlbum,
super(const AlbumState.initial());
Creates the cubit.
AlbumCubit({
required GetAlbum getAlbum,
}) : _getAlbum = getAlbum,
super(const AlbumState.initial());