requestPromotedProductIOS method
Add Store Payment (iOS only) Indicates that the App Store purchase should continue from the app instead of the App Store.
@returns {Future} will receive result from purchasePromoted
listener.
Implementation
Future requestPromotedProductIOS() async {
if (_platform.isIOS) {
return await _channel.invokeMethod('requestPromotedProduct');
}
throw PlatformException(
code: _platform.operatingSystem, message: "platform not supported");
}