providesAppNotificationSettingsForTesting property

  1. @visibleForTesting
bool get providesAppNotificationSettingsForTesting

Exposes the computed value of providesAppNotificationSettings that is passed to FirebaseMessaging.instance.requestPermission in requestPermissions. Tests can verify this value without requiring Firebase initialization.

Implementation

@visibleForTesting
bool get providesAppNotificationSettingsForTesting =>
    _onSystemNotificationSettingsOpened != null;