getMaterialDownload method

Future<MaterialDto> getMaterialDownload(
  1. Material material
)

Gets the download URL for a material.

The returned MaterialDto.referer must be included as a Referer header when downloading, if non-null.

Throws Exception on network failure. Throws UnimplementedError for course recordings (not yet supported).

Implementation

Future<MaterialDto> getMaterialDownload(Material material) async {
  throw UnimplementedError();
}