DebugConfig class

Configuration settings for the debug panel

Constructors

DebugConfig({bool enableNetworkLogging = true, bool enableStateInspection = true, bool enablePerformanceMonitoring = true, int maxNetworkLogs = 100, int maxPerformanceMetrics = 50, bool enableConsoleLogging = true, bool enableFileLogging = false, LogLevel logLevel = LogLevel.info})
Creates a new DebugConfig instance
const

Properties

enableConsoleLogging → bool
Whether to enable console logging
final
enableFileLogging → bool
Whether to enable file logging
final
enableNetworkLogging → bool
Whether to enable network request/response logging
final
enablePerformanceMonitoring → bool
Whether to enable performance monitoring
final
enableStateInspection → bool
Whether to enable state inspection functionality
final
hashCode → int
The hash code for this object.
no setteroverride
logLevel → LogLevel
Minimum log level to display
final
maxNetworkLogs → int
Maximum number of network logs to keep in memory
final
maxPerformanceMetrics → int
Maximum number of performance metrics to keep in memory
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? enableNetworkLogging, bool? enableStateInspection, bool? enablePerformanceMonitoring, int? maxNetworkLogs, int? maxPerformanceMetrics, bool? enableConsoleLogging, bool? enableFileLogging, LogLevel? logLevel}) → DebugConfig
Creates a copy of this DebugConfig with the given fields replaced
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override