downloadFile method

Future<Response> downloadFile(
  1. String fileId
)

Downloads the file with the specified identifier.

Implementation

Future<http.Response> downloadFile(String fileId) async {
  return _apiClient.get<http.Response>(
    '/files/$fileId',
    headers: _session.authenticationHeaders,
  );
}