setCacheDisabled method

Future<void> setCacheDisabled(
  1. bool disabled
)

Toggles ignoring cache for each request. If true, cache will not be used.

Implementation

Future<void> setCacheDisabled(bool disabled) async {
  if (_isDisposed) {
    return;
  }
  assert(value.isInitialized);
  return _methodChannel.invokeMethod('setCacheDisabled', disabled);
}