NavigationDiagnostics class
Opt-in router diagnostics. No logger runs unless configured on the router.
Defaults log registered patterns instead of concrete URIs. Enable each sensitive field explicitly. The logger receives only the formatted string.
Constructors
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeArguments → bool
-
final
- includeData → bool
-
final
- includeErrorDetails → bool
-
final
- includeParameters → bool
-
final
- logger → void Function(String)?
-
Defaults to Flutter's debugPrint. Exceptions from the logger are ignored.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
NavigationEvent event) → String - Produces a single JSON line with consistently redacted route information.
-
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