NativebrikRemoteConfig class
A remote config that can be fetched from nativebrik.
- NativebrikBridge must be initialized before using this class.
- Dispose the variant after using it not to leak resources.
reference: https://docs.nativebrik.com/reference/flutter/nativebrikremoteconfig
Usage:
final config = NativebrikRemoteConfig("ID OR CUSTOM ID");
final variant = await config.fetch();
final phase = variant.phase;
final value = await variant.get("KEY");
await variant.dispose();
Constructors
Properties
Methods
-
fetch(
) → Future< NativebrikRemoteConfigVariant> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited