close method

Implementation

@override
Future<WebDavStdResponse<WebDavStdResResultView>> close() {
  param?.beforeAddRequestBody(request);
  final body = param?.toRequestBody();
  if (body != null) request.write(body);
  return request.close().then((response) => WebDavStdResponse(
        response: response,
        path: request.uri,
        method: method,
        bodyDecoders: responseBodyDecoders ?? kStdDecoderManager,
        resultParser: responseResultParser ?? kStdResponseResultParser,
      ));
}