start static method

Future<bool> start({
  1. required String apiKey,
  2. List<String>? androidStores = const ['Google'],
  3. required bool storeKit1,
  4. String? userId,
  5. PLYLogLevel logLevel = PLYLogLevel.error,
  6. PLYRunningMode runningMode = PLYRunningMode.full,
})

Implementation

static Future<bool> start(
    {required final String apiKey,
    final List<String>? androidStores = const ['Google'],
    required bool storeKit1,
    final String? userId,
    final PLYLogLevel logLevel = PLYLogLevel.error,
    final PLYRunningMode runningMode = PLYRunningMode.full}) async {
  return await _channel.invokeMethod('start', <String, dynamic>{
    'apiKey': apiKey,
    'stores': androidStores,
    'storeKit1': storeKit1,
    'userId': userId,
    'logLevel': logLevel.index,
    'runningMode': runningMode.index
  });
}