Private constructorContexts should be created using the static factory method Context.fromLDContext.
The kind of the context.
The factory methods are static functions within the class because they access private implementation details, so they cannot be free functions.
Optional message: stringOptional Private Optional _cachedPrivate Optional _contextPrivate _contextsPrivate _isPrivate _isPrivate Optional _privatePrivate _wasReadonly kindOptional Readonly messageReadonly validIs this a valid context. If a valid context cannot be created, then this flag will be true. The validity of a context should be tested before it is used.
Static Readonly UserGet the canonical key for this context.
True if this is a multi-kind context.
Get the kinds of this context.
Get the kinds, and their keys, for this context.
Private _contextGet the underlying context objects from this context.
This method is intended to be used in event generation.
The returned objects should not be modified.
Get the attribute references.
Attempt to get a value for the given context kind using the given reference.
The reference to the value to get.
The kind of the context to get the value for.
a value or undefined if one is not found.
Static Private _contextStatic Private _fromStatic Private _fromStatic Private _fromStatic Private _getOptional context: LDContextCommonOptional Static fromLDContextStatic toLDContextGenerated using TypeDoc
Container for a context/contexts. Because contexts come from external code they must be thoroughly validated and then formed to comply with the type system.