startTransaction static method

Future<Map> startTransaction(
  1. Map<String, dynamic> paymentRequestParams
)

Implementation

static Future<Map<dynamic, dynamic>> startTransaction(
    Map<String, dynamic> paymentRequestParams) async {
  var sendMap = <String, dynamic>{
    "PayParams": paymentRequestParams,
  };
  print(sendMap.toString());
  Map<dynamic, dynamic> version =
      await _channel.invokeMethod('getPlatformVersion', sendMap);

  return version;
}