Optional
optionsThe key of the feature to retrieve.
The context in which the feature flag is being retrieved, must include a valid user ID.
Sets an attribute for a user in the context provided. This method validates the types of the inputs before proceeding with the API call.
The key of the attribute to set.
The value of the attribute to set.
The context in which the attribute should be set, must include a valid user ID.
Tracks an event with specified properties and context. This method validates the types of the inputs and ensures the settings and user context are valid before proceeding.
The name of the event to track.
The properties associated with the event.
The context in which the event is being tracked, must include a valid user ID.
Retrieves the value of a feature flag for a given feature key and context. This method validates the feature key and context, ensures the settings are valid, and then uses the FlagApi to get the flag value.