launchdarkly_flutter_client_sdk library Null safety
launchdarkly_flutter_client_sdk provides a Flutter wrapper around the LaunchDarkly mobile SDKs for Android and iOS.
A complete reference guide is available on the LaunchDarkly documentation site.
Classes
- LDClient
- The main interface for the LaunchDarkly Flutter SDK. [...]
- LDConfig
- A configuration object used when initializing the LDClient.
- LDConfigBuilder
- A builder for LDConfig.
- LDConnectionInformation
- Describes the connectivity state of the SDK, and information on occurrence of request failures and successes.
-
LDEvaluationDetail<
T> - Class returned by the "variation detail" methods such as LDClient.boolVariationDetail, combining the result of the evaluation with an explanation of how it was calculated.
- LDEvaluationReason
- Describes the reason that a flag evaluation produced a particular value.
- LDFailure
- Describes an error encountered during an attempt to retrieve flag values from the LaunchDarkly service.
- LDUser
- An LDUser contains the attributes of a user context. [...]
- LDUserBuilder
- A builder for constructing LDUser objects.
- LDValue
- An immutable instance of any data type that is allowed in JSON. [...]
- LDValueArrayBuilder
- Builder for constructing an LDValueType.ARRAY typed LDValue.
- LDValueObjectBuilder
- Builder for constructing an LDValueType.OBJECT typed LDValue.
Enums
- LDConnectionState
- Enumerated type defining the possible connection states for the SDK.
- LDErrorKind
- Enumerated type defining the defined error cases for an LDEvaluationReason with the kind LDKind.ERROR. [...]
- LDFailureType
- Enumerated type defining the defined failures the SDK can report encountering while fetching flag values.
- LDKind
- Enumerated type defining the possible reasons for a flag evaluation result, used in LDEvaluationReason.
- LDValueType
- Describes the type of an LDValue. These correspond to the standard types in JSON.
Typedefs
-
LDFlagsReceivedCallback
= void Function(List<
String> changedFlagKeys) -
Type of function callback used by
LDClient.registerFlagsReceivedListener
. [...] - LDFlagUpdatedCallback = void Function(String flagKey)
-
Type of function callback used by
LDClient.registerFeatureFlagListener
. [...]