handleConsentStatusChangedEvent method

Stream<FastAdInfoBlocState> handleConsentStatusChangedEvent(
  1. ConsentStatus? consentStatus
)

Implementation

Stream<FastAdInfoBlocState> handleConsentStatusChangedEvent(
  ConsentStatus? consentStatus,
) async* {
  if (isInitialized) {
    yield currentState.copyWith(consentStatus: consentStatus);
  }
}