pay method

  1. @override
Future<void> pay({
  1. required String orderInfo,
  2. bool dynamicLaunch = false,
  3. bool isShowLoading = true,
})
override

支付

Implementation

@override
Future<void> pay({
  required String orderInfo,
  bool dynamicLaunch = false,
  bool isShowLoading = true,
}) {
  return methodChannel.invokeMethod<void>(
    'pay',
    <String, dynamic>{
      'orderInfo': orderInfo,
      'dynamicLaunch': dynamicLaunch,
      'isShowLoading': isShowLoading,
    },
  );
}