LiveConfigurationClient class
Constructors
-
LiveConfigurationClient({required LiveConfigurationOptions options, required BaseConfigurationEntryPersistance persistance, required BaseConfigurationDeserializer deserializer, Iterable<ConfigEntry>? defaultEntries, TypeDecoderOptions? typeDecoder, String? optionsSavePath})
-
Creates a new LiveConfigurationClient
options
The options to configure the client.
persistance
The persistance implementation to use in order to save entries locally.
deserializer
The configuration deserializer to use.
typeDecoder
The type decoder to use. It is not required unless non primitive types are needed.
optionsSavePath
The path where to save LiveConfigurationClient settings
-
LiveConfigurationClient.mock({Iterable<ConfigEntry>? defaultEntries, LiveConfigurationOptions? options, BaseConfigurationEntryPersistance? persistance, BaseConfigurationDeserializer? deserializer, String? optionsSavePath, TypeDecoderOptions? typeDecoder})
-
Creates a mockable instance of the LiveConfigurationClient
defaultEntries
the entries to use.
options
the options to use.
persistance
the persistance to use.
deserializer
the deserializer to use.
Properties
-
firstSyncCompleter
→ Completer
-
A completer that can be used to await until the first synchronization is made.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited