toLaunchDarklyContext(context?: FlagContext): LaunchDarklyContext
Builds the LaunchDarkly evaluation context for a framework
FlagContext.
Exported for direct unit testing: it is the one place a framework context is
translated to the SDK's shape, and its anonymous fallback is what keeps a
context-less isEnabled('flag') evaluable.
optional
context: FlagContext
The framework targeting context
The SDK context