PhotoCubit constructor Null safety
- {required GetPhoto getPhoto}
Creates the cubit.
Implementation
PhotoCubit({
required GetPhoto getPhoto,
}) : _getPhoto = getPhoto,
super(const PhotoState.initial());
Creates the cubit.
PhotoCubit({
required GetPhoto getPhoto,
}) : _getPhoto = getPhoto,
super(const PhotoState.initial());