activateFetched method

Future<bool> activateFetched()

Enable the fetched RemoteConfig value. Normally used in combination with the fetch method.

await Repro.remoteConfig.fetch(3000, (result) {
  if (result != FetchStatus.timeoutReached) {
    await Repro.remoteConfig.activateFetched();
  }
});

Implementation

Future<bool> activateFetched() async {
  var result =  await Repro._invokeMethod<bool>('remoteConfig_activateFetched');
  return result!;
}