setup method

  1. @override
Future<void> setup({
  1. String? appUserId,
  2. bool observerMode = false,
  3. bool logEnable = false,
})
override

Implementation

@override
Future<void> setup(
    {String? appUserId,
    bool observerMode = false,
    bool logEnable = false}) async {
  await methodChannel.invokeMethod<String>('setupPurchases', {
    'appUserId': appUserId,
    'observerMode': observerMode,
    'logEnable': logEnable
  });
}