initialize method

  1. @override
Future<bool?> initialize(
  1. String apiKey, {
  2. bool isDebug = false,
  3. String? userId,
})
override

Implementation

@override
Future<bool?> initialize(
  String apiKey, {
  bool isDebug = false,
  String? userId,
}) async {
  return await methodChannel.invokeMethod('init', {
    'apiKey': apiKey,
    "debugMode": isDebug,
    "app_user_id": userId,
  });
}