presentPresentationWithIdentifier static method

Future<PresentPresentationResult> presentPresentationWithIdentifier(
  1. String? presentationVendorId, {
  2. String? contentId,
  3. bool isFullscreen = false,
})

Implementation

static Future<PresentPresentationResult> presentPresentationWithIdentifier(
    String? presentationVendorId,
    {String? contentId,
    bool isFullscreen = false}) async {
  final result = await _channel
      .invokeMethod('presentPresentationWithIdentifier', <String, dynamic>{
    'presentationVendorId': presentationVendorId,
    'contentId': contentId,
    'isFullscreen': isFullscreen
  });
  return PresentPresentationResult(PLYPurchaseResult.values[result['result']],
      transformToPLYPlan(result['plan']));
}