setEnabled static method
Enables or disables the BlueConic client asynchronously.
When disabled, the BlueConic client will not track any data or send requests to BlueConic servers. This is useful for implementing privacy controls or complying with user preferences.
isEnabled true to enable tracking, false to disable it
Returns a Future<dynamic> that completes when the setting is applied
Implementation
static Future<dynamic> setEnabled(bool isEnabled) {
return BlueConicPlatform.instance.setEnabled(isEnabled);
}