notificationMaxAskCountUnlimited constant
int
const notificationMaxAskCountUnlimited
Sentinel stored in defaultRemoteConfig to mean "unlimited" for the
notification max-ask-count programmatic defaults. Firebase Remote Config
setDefaults rejects null (it must be bool/num/String), so null
cannot be stored in the defaults map; this -1 sentinel is stored
instead and the getters map it back to null (= unlimited).
Note: this is the programmatic-default-layer meaning of -1. It is
distinct from the env-override-layer -1, which means "unset, fall
through" (see the notification max-ask-count getters). Same literal,
different layer, different meaning.
Implementation
static const int notificationMaxAskCountUnlimited = -1;