KubesenseRemoteConfiguration class

Values read from the remote SDK configuration document the native SDK was initialized with: the document cached by the previous launch.

It is empty when remote configuration is disabled, before anything was cached, and on Web. Like the native SDKs, every accessor answers null for a missing value or one of the wrong type or range, so that callers keep the setting the application configured.

Annotations

Constructors

KubesenseRemoteConfiguration(Map<String, Object?> values)
const

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

getBool(String section, String key) → bool?
getSampleRate(String section, String key) → double?
getString(String section, String key) → String?
isFeatureDisabled(String featureKey) → bool
Whether a feature was switched off from the dashboard. Only an explicit false in the features section disables a feature.
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

Constants

empty → const KubesenseRemoteConfiguration