configure static method

void configure({
  1. bool? enabled,
  2. DVSceneRenderer? renderer()?,
  3. DVSceneAssetPolicy? policy,
  4. Map<DVSceneAssetSource, DVSceneAssetFetch>? fetchers,
})

Replaces the parts given.

Implementation

static void configure({
  bool? enabled,
  DVSceneRenderer? Function()? renderer,
  DVSceneAssetPolicy? policy,
  Map<DVSceneAssetSource, DVSceneAssetFetch>? fetchers,
}) {
  if (enabled != null) _enabled = enabled;
  if (renderer != null) _renderer = renderer;
  if (policy != null) _policy = policy;
  if (fetchers != null) {
    _fetchers = Map<DVSceneAssetSource, DVSceneAssetFetch>.of(fetchers);
  }
}