DebugOptions class
App debug options.
By default, app do additional checks during development but logs nothing. You can enable/disable logs for particular modules or use pre-defined modes:
-
DebugOptions.defaultMode - Enables exceptions and additional checks.
-
DebugOptions.developmentMode Enables exceptions, logs and additional checks.
-
DebugOptions.productionMode - Suppress exceptions, logs and additional checks.
Constructors
Properties
- additionalChecks → bool
-
final
- frameworkLogs → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- routerLogs → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suppressExceptions → bool
-
final
- widgetLogs → bool
-
final
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
Constants
- defaultMode → const DebugOptions
- developmentMode → const DebugOptions
- productionMode → const DebugOptions