download static method
- Uri uri,
- Uri destinationFileUri, {
- Map<
String, String> ? data, - RequestInfo? requestInfo,
- HttpOperation operation = HttpOperation.get,
Downloads a file from the given uri to the destinationFileUri. The data
is passed in the body of the request as JSON. Use operation to specify the
HTTP verb as HttpOperation.get (default) or HttpOperation.post.