handleAskForConsentEventIfNeeded method
Implementation
Stream<FastAdInfoBlocState> handleAskForConsentEventIfNeeded() async* {
if (isInitialized) {
await FastAdConsentService.instance.showConsentFormIfNeeded();
final consentStatus = await _consentService.getConsentStatus();
if (consentStatus != ConsentStatus.unknown) {
addEvent(FastAdInfoBlocEvent.constentStatusChanged(consentStatus));
}
}
}