initialize method

  1. @override
Future<void> initialize({
  1. required String projectId,
  2. String? userId,
  3. String? logLevel = "None",
  4. bool? allowMeteredNetworkUsage = false,
  5. bool? enableWebViewCapture = true,
  6. 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,
  });
}