get method

  1. @override
Future<ParseNetworkResponse> get(
  1. String path, {
  2. ParseNetworkOptions? options,
  3. ProgressCallback? onReceiveProgress,
})
override

Implementation

@override
Future<ParseNetworkResponse> get(
  String path, {
  ParseNetworkOptions? options,
  ProgressCallback? onReceiveProgress,
}) async {
  final http.Response response = await _client.get(
    Uri.parse(path),
    headers: options?.headers,
  );
  return ParseNetworkResponse(
      data: response.body, statusCode: response.statusCode);
}