fetch method

Future<Response> fetch(
  1. PayMongoOptions options
)

GET request

Implementation

Future<Response> fetch(PayMongoOptions options) async {
  final _http = PayMongoHttp(apiKey);

  final response =
      await _http.get(Uri.https(url, "v1${options.path}", options.params));
  _http.close();
  return response;
}