init static method
- SdkConfig config
Initializes or replaces the global SDK singleton.
Calling this again disposes the current event stream and boots a new
instance with config. If the selected profile requests a startup flush,
the queue flush is started during initialization.
Implementation
static void init(SdkConfig config) {
_instance = Sdk._(config);
_instance!._boot();
}