launchCheckout method

  1. @override
Future<void> launchCheckout(
  1. String checkoutUrl, {
  2. ShopifySheetConfiguration? configuration,
})
override

Implementation

@override
Future<void> launchCheckout(
    String checkoutUrl, {
      ShopifySheetConfiguration? configuration,
    }) async {
  await methodChannel.invokeMethod('launchCheckout', {
    'checkoutUrl': checkoutUrl,
    if (configuration != null) 'config': configuration.toMap(),
  });
}