current property

Configuration get current

Returns the current configuration, or a default configuration if no current configuration is set.

The current configuration is set using asCurrent.

Implementation

static Configuration get current =>
    Zone.current[_currentKey] as Configuration? ?? Configuration._unsafe();