initialize static method
Initialize the SDK
Implementation
static Future<void> initialize(String apiKey,
{String? localConfigurationPath,
String? remoteConfigurationURL,
String? providerId,
bool disableDidomiRemoteConfig = false,
String? languageCode,
String? noticeId,
String? androidTvNoticeId,
bool androidTvEnabled = false}) async =>
await _channel.invokeMethod("initialize", {
"apiKey": apiKey,
"localConfigurationPath": localConfigurationPath,
"remoteConfigurationURL": remoteConfigurationURL,
"providerId": providerId,
"disableDidomiRemoteConfig": disableDidomiRemoteConfig,
"languageCode": languageCode ?? Platform.localeName,
"noticeId": noticeId,
"androidTvNoticeId": androidTvNoticeId,
"androidTvEnabled": androidTvEnabled
});