current static method

ProtectionDomain current()

Returns the domain currently bound to the executing thread or context.

If none is explicitly set, a fallback domain may be used.

Implementation

static ProtectionDomain current() => _ProtectionDomain.current();