RemoteConfig class abstract

Constructors

RemoteConfig()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() Future<void>
downloadAllKeys([RCDownloadCallback? callback]) Future<void>
downloadOmittingKeys(List<String> omittedKeys, [RCDownloadCallback? callback]) Future<void>
downloadSpecificKeys(List<String> keys, [RCDownloadCallback? callback]) Future<void>
enrollIntoABTestsForKeys(List<String> keys) Future<void>
exitABTestsForKeys(List<String> keys) Future<void>
getAllValues() Future<Map<String, RCData>>
returns the values of all keys. make sure downloadAllKeys is called to download all RC data before calling this method.
getAllValuesAndEnroll() Future<Map<String, RCData>>
returns the values of all keys and enroll them for AB testing. make sure downloadAllKeys or downloadSpecificKeys is called to download all RC data before calling this method.
getValue(String key) Future<RCData>
returns the value of a stored key. make sure downloadAllKeys or downloadSpecificKeys is called to download RC data before calling this method.
getValueAndEnroll(String key) Future<RCData>
returns the value of a stored key and enroll it for AB testing. make sure downloadAllKeys or downloadSpecificKeys is called to download RC data before calling this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDownloadCallback(RCDownloadCallback callback) → void
removeDownloadCallback(RCDownloadCallback callback) → void
testingDownloadExperimentInformation(RCVariantCallback rcVariantCallback) Future<void>
testingDownloadVariantInformation(RCVariantCallback rcVariantCallback) Future<void>
testingEnrollIntoABExperiment(String experimentID) Future<void>
Enroll into AB experiment (for all keys under that experiment) with experiment ID String experimentID - ID of experiment You can get experiment ID from testingDownloadExperimentInformation
testingEnrollIntoVariant(String keyName, String variantName, RCVariantCallback? rcVariantCallback) Future<void>
testingExitABExperiment(String experimentID) Future<void>
Exit from AB experiment (for all keys under that experiment) with experiment ID String experimentID - ID of experiment You can get experiment ID from testingDownloadExperimentInformation
testingGetAllExperimentInfo() Future<Map<String, ExperimentInformation>>
make sure testingDownloadExperimentInformation is called to download experiment info before calling this method.
testingGetAllVariants() Future<Map<String, List<String>>>
make sure testingDownloadVariantInformation is called to download variant info before calling this method.
testingGetVariantsForKey(String key) Future<List<String>>
make sure testingDownloadVariantInformation is called to download variant info before calling this method.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited