configure static method

void configure({
  1. bool? debugLogs,
  2. bool? strict,
  3. bool? performanceTracking,
  4. bool? metrics,
  5. bool? autoDispose,
  6. Duration? cacheExpiry,
  7. bool? navigationLogging,
  8. bool? routeLogging,
  9. bool? rxTracking,
})

Apply custom configuration

Implementation

static void configure({
  bool? debugLogs,
  bool? strict,
  bool? performanceTracking,
  bool? metrics,
  bool? autoDispose,
  Duration? cacheExpiry,
  bool? navigationLogging,
  bool? routeLogging,
  bool? rxTracking,
}) {
  if (debugLogs != null) enableDebugLogs = debugLogs;
  if (strict != null) strictMode = strict;
  if (performanceTracking != null) {
    enablePerformanceTracking = performanceTracking;
  }
  if (metrics != null) enableMetrics = metrics;
  if (autoDispose != null) enableAutoDispose = autoDispose;
  if (cacheExpiry != null) controllerCacheExpiry = cacheExpiry;
  if (navigationLogging != null) enableNavigationLogging = navigationLogging;
  if (routeLogging != null) enableRouteLogging = routeLogging;
  if (rxTracking != null) useRxTracking = rxTracking;
}