isUserOptedIn property

bool isUserOptedIn
final

Checks for isUserNotificationsEnabled, areNotificationsAllowed, and isPushPrivacyFeatureEnabled. If this flag is true but isOptedIn is false, that means push token was not able to be registered.

Implementation

final bool isUserOptedIn;