initialize static method
- @Deprecated("Use instance.initialize instead")
- String writeKey, {
- RudderConfig? config,
- RudderOption? options,
Initializes the RudderStack SDK with the provided write key.
writeKey is the unique identifier for your RudderStack source.
config provides optional configuration settings for the SDK.
options allows you to specify additional options for this call.
This method must be called before using any other SDK functionality.
Implementation
@Deprecated("Use instance.initialize instead")
static void initialize(String writeKey,
{RudderConfig? config, RudderOption? options}) {
instance.initialize(writeKey, config: config, options: options);
}