debug library

Utilities to make debugging easier.

Enums

QuoteType
The type of surrounding quotes to use when generating escaped strings.

Extensions

EscapeRunes on Runes
Provides an escape extension method on Runes.
EscapeString on String
Provides an escape extension method on String.
StaticTypeExtension on T
Provides a staticType getter on all non-dynamic objects.

Properties

assertsEnabled bool
Returns true if assert is enabled.
no setter

Functions

currentDartFilePath({bool packageRelative = false}) String
Returns the path to the caller's .dart file.
timeAsyncOperation(Future<void> operation()) Future<Duration>
Times the specified asynchronous operation.
timeOperation(void operation()) Duration
Times the specified synchronous operation.