start static method
Future<bool>
start({
- required String apiKey,
- List<
String> ? androidStores = const ['Google'], - required bool storeKit1,
- String? userId,
- PLYLogLevel logLevel = PLYLogLevel.error,
- 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
});
}