FeatureViewModel class
Constructors
- FeatureViewModel({required FeaturesFlowDelegate delegate, required FeatureDataSource source, required String encryptionKey, bool? backgroundSync})
Properties
- backgroundSync → bool?
-
final
- delegate → FeaturesFlowDelegate
-
final
- encryptionKey → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- manager → CachingManager
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → FeatureDataSource
-
final
- utf8Decoder → Utf8Decoder
-
final
- utf8Encoder → Utf8Encoder
-
final
Methods
-
cacheFeatures(
FeaturedDataModel data) → void -
connectBackgroundSync(
) → Future< void> -
fetchFeatures(
String? apiUrl, {bool remoteEval = false, RemoteEvalModel? payload}) → Future< void> -
handleEncryptedFeatures(
String encryptedFeatures) → void -
handleException(
dynamic e, dynamic s) → void -
handleValidFeatures(
FeaturedDataModel data) → void -
logError(
String message) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareFeaturesData(
FeaturedDataModel data) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited