payGoods method
Future<void>
payGoods(
- String goodsId,
- int inputPrice,
- String orderId, {
- PayCallback? callback,
- String? goodsName,
- String? goodsDesc,
override
Implementation
@override
Future<void> payGoods(
String goodsId,
int inputPrice,
String orderId, {
PayCallback? callback,
String? goodsName,
String? goodsDesc,
}) async {
_payCallback = callback;
await methodChannel.invokeMethod<void>('payGoods', {
'goodsId': goodsId,
'inputPrice': inputPrice,
'orderId': orderId,
'goodsName': goodsName,
'goodsDesc': goodsDesc,
});
}