configure static method
void
configure({})
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;
}