get method

Future<Response> get(
  1. String path, {
  2. ProcessResponseMethod? processResponseMethod,
  3. Map<String, String>? queryParameters,
  4. Map<String, String>? headers,
  5. String? authority,
  6. Client? client,
  7. bool headersReplace = false,
  8. bool queryParametersReplace = false,
  9. bool? useSSL,
})

Implementation

Future<http.Response> get(
  String path, {
  ProcessResponseMethod? processResponseMethod,
  Map<String, String>? queryParameters,
  Map<String, String>? headers,
  String? authority,
  http.Client? client,
  bool headersReplace = false,
  bool queryParametersReplace = false,
  bool? useSSL,
}) {
  return _method(
    path: path,
    body: null,
    requestMethod: _get,
    processResponseMethod: processResponseMethod,
    queryParameters: queryParameters,
    headers: headers,
    authority: authority,
    nameOfMethod: 'GET',
    client: client,
    headersReplace: headersReplace,
    queryParametersReplace: queryParametersReplace,
    useSSL: useSSL,
    useJsonEncode: true,
  );
}