setDefaultPresentationResultHandler static method

Future<PresentPresentationResult> setDefaultPresentationResultHandler()

Implementation

static Future<PresentPresentationResult>
    setDefaultPresentationResultHandler() async {
  final result =
      await _channel.invokeMethod('setDefaultPresentationResultHandler');
  return PresentPresentationResult(PLYPurchaseResult.values[result['result']],
      transformToPLYPlan(result['plan']));
}