disableNetwork method

Future<void> disableNetwork()

Disables network usage for this instance. It can be re-enabled via enableNetwork(). While the network is disabled, any snapshot listeners or get() calls will return results from cache, and any write operations will be queued until the network is restored.

Implementation

Future<void> disableNetwork() {
  throw UnimplementedError('disableNetwork() is not implemented');
}