getContentAndDownloadTo method
Sends a media request to the server and writes the input stream of returned media content into the specified destination.
Implementation
Future<bool> getContentAndDownloadTo(
FilesRequest request,
String path,
) async {
return await _channel
.invokeMethod('Files#ExecuteContentAndDownloadTo', <dynamic, dynamic>{
'request': request.toJson(),
'path': path,
});
}