initializeApplePay static method

Future initializeApplePay(
  1. String applePayMerchantId
)

Implementation

static Future initializeApplePay(String applePayMerchantId) async {
  assert(applePayMerchantId.isNotEmpty,
      'applePayMerchantId should not be empty.');
  var params = <String, dynamic>{
    'merchantId': applePayMerchantId,
  };
  await _channel.invokeMethod('initializeApplePay', params);
}