request method

Future<Map<String, dynamic>> request(
  1. RequestMethod method,
  2. String path,
  3. String key,
  4. String? apiVersion, {
  5. Map<String, dynamic>? params,
})

Implementation

Future<Map<String, dynamic>> request(RequestMethod method, String path, String key, String? apiVersion,
    {final Map<String, dynamic>? params}) {
  final options = RequestOptions(key: key, apiVersion: apiVersion, stripeAccount: stripeAccount);
  return _getStripeResponse(method, liveApiPath + path, options, params: params);
}