reset static method
Reset the SDK state (for testing only).
WARNING: This should only be used in tests. Calling this in production code may cause unexpected behavior.
Implementation
@visibleForTesting
static Future<void> reset() async {
await _androidAdapter?.dispose();
await _iosAdapter?.dispose();
await _webAdapter?.dispose();
_androidAdapter = null;
_iosAdapter = null;
_webAdapter = null;
_factories.clear();
_androidLicenseKey = null;
_iosLicenseKey = null;
_webLicenseKey = null;
_initialized = false;
}