screenNameSource property

String? Function()? screenNameSource
getter/setter pair

Supplies the screen the app is currently on, so staged records can be stamped with it without every call site passing one.

Set once by Digia.initialize(). A function rather than a value because the screen changes constantly and the logger must never hold a stale one; null before init, and never trusted to not throw.

Implementation

static String? Function()? screenNameSource;