KoolbaseCodePushClient class

Constructors

KoolbaseCodePushClient({required String baseUrl, required String apiKey, String channel = 'stable', MandatoryUpdateCallback? onMandatoryUpdate})

Properties

activeManifest BundleManifest?
no setter
apiKey String
final
baseUrl String
final
channel String
final
hasActiveBundle bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasMandatoryUpdate bool
True when a mandatory bundle has been staged this session and is awaiting application on the next cold launch. Gate your UI on this to prompt the user to restart so the required update takes effect.
no setter
onMandatoryUpdate MandatoryUpdateCallback?
final
override RuntimeOverrideEngine
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeFlow({required String flowId, Map<String, dynamic>? context}) FlowResult
init({required String appVersion, required String platform, required String deviceId, required Map<String, dynamic> remoteConfig, required Map<String, dynamic> remoteFlags}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDirective(String key, void handler(dynamic value)) → void
resolveScreen(String screenId) Future<ScreenLookupResult>
toString() String
A string representation of this object.
inherited

Operators

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