installAdapters static method

void installAdapters(
  1. Iterable<DVPrivacyAdapter> adapters
)

Adds adapters to every DV.Privacy from now on, replacing any of the same name. Called by the framework's own stores as they start, so an adapter is installed whichever of the two is configured first.

Implementation

static void installAdapters(Iterable<DVPrivacyAdapter> adapters) {
  for (final DVPrivacyAdapter adapter in adapters) {
    _installed[adapter.name] = adapter;
  }
  _built = null;
}