scope property

PodScope? scope
getter/setter pair

Returns the active PodScope for this context, if any.

May return null if no scope is active.

Example:

final scope = context.getScope();
print(scope?.getName()); // e.g., "singleton"

Implementation

PodScope? scope;