current property
RuntimeContext
current
The current RuntimeContext available to the executing application.
Is either a MirrorContext
or a GeneratedContext
,
depending on the execution type.
Implementation
static RuntimeContext get current {
return _current ??= context.instance;
}
Implementation
static set current(RuntimeContext replica) {
_current = replica;
}