initialize static method

Future<void> initialize({
  1. required String appKey,
  2. required String appName,
  3. required String deviceIdentifier,
})

Implementation

static Future<void> initialize({
  required String appKey,
  required String appName,
  required String deviceIdentifier,
}) async {
  if (appKey.isEmpty) {
    debugPrint('$tag - initialize - key can not be empty');
    return;
  }
  Map arguments = {
    'appKey': appKey,
    'appName': appName,
    'deviceIdentifier': deviceIdentifier,
  };
  await _channel.invokeMethod('initialize', arguments);
}