initialize method
Future<void>
initialize({
- required String projectId,
- String? userId,
- String? logLevel = "None",
- bool? allowMeteredNetworkUsage = false,
- bool? enableWebViewCapture = true,
- List<
String> ? allowedDomains,
override
Implementation
@override
Future<void> initialize({
required String projectId,
String? userId,
String? logLevel = "None",
bool? allowMeteredNetworkUsage = false,
bool? enableWebViewCapture = true,
List<String>? allowedDomains,
}) async {
await methodChannel.invokeMethod<void>('initialize', {
'projectId': projectId,
'userId': userId,
"logLevel": logLevel,
"allowMeteredNetworkUsage": allowMeteredNetworkUsage,
"enableWebViewCapture": enableWebViewCapture,
"allowedDomains": allowedDomains,
});
}