setSimulatesAskToBuyInSandbox static method

Future<void> setSimulatesAskToBuyInSandbox(
  1. bool enabled
)

iOS only. Set this property to true only when testing the ask-to-buy / SCA purchases flow. More information: http://errors.rev.cat/ask-to-buy

Implementation

static Future<void> setSimulatesAskToBuyInSandbox(bool enabled) => _channel
    .invokeMethod('setSimulatesAskToBuyInSandbox', {'enabled': enabled});