initialize static method
Initializes the SDK
Call this on the start of your application.
Implementation
static FutureOr<dynamic> initialize(
{final String? appKey,
bool gdprConsent = true,
bool ccpaConsent = true}) async {
_channel.setMethodCallHandler(_handle);
await _channel.invokeMethod('initialize', {
'appKey': appKey,
'gdprConsent': gdprConsent,
'ccpaConsent': ccpaConsent
});
}