DebugMode class
Debug mode configuration
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isEnabled → bool
-
Check if debug mode is enabled
no setter
- isTrackingDependencies → bool
-
Check if dependency tracking is enabled
no setter
- isVerboseLogging → bool
-
Check if verbose logging is enabled
no setter
Static Methods
-
clearInfo(
) → void - Clear debug info
-
disable(
) → void - Disable debug mode
-
enable(
{bool verboseLogging = false, bool trackDependencies = false}) → void - Enable debug mode
-
getAllInfo(
) → Map< String, dynamic> - Get all debug info
-
getDependencyGraph(
) → Map< String, dynamic> - Get dependency graph for debugging
-
getInfo(
String key) → dynamic - Get debug info
-
setInfo(
String key, dynamic value) → void - Set debug info