getContentAndDownloadTo method

Future<bool> getContentAndDownloadTo(
  1. HistoryVersionsRequest request,
  2. String path
)

Sends a media request to the server and writes the input stream of returned media content into the specified destination output path.

Implementation

Future<bool> getContentAndDownloadTo(
  HistoryVersionsRequest request,
  String path,
) async {
  return await _channel.invokeMethod(
      'HistoryVersions#ExecuteContentAndDownloadTo', <dynamic, dynamic>{
    'requestOptions': request.toJson(),
    'path': path,
  });
}