put method

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

Implementation

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