remoteConfigBool method

Future<bool> remoteConfigBool(
  1. String key,
  2. bool fallback
)

Boolean feature-flag value for key from the local cache, or fallback when absent/mistyped. Cache read, never blocks on network; a stale cache triggers a background refresh, so never call refreshRemoteConfig from a remote-config-changed listener this can trigger.

Implementation

Future<bool> remoteConfigBool(String key, bool fallback) => _platform.remoteConfigBool(key, fallback);