MaterialDto typedef
Downloadable course material with its access information.
Implementation
typedef MaterialDto = ({
/// Direct download URL for the material file.
/// Can also be used for streaming media content.
Uri downloadUrl,
/// Optional Referer URL for some downloads (e.g., PDF viewer pages).
/// If non-null, must be included as the HTTP Referer header when
/// downloading or streaming. For other materials, this is `null`
/// and no Referer header is required.
String? referer,
/// Whether this material can be streamed (e.g., video/audio recordings).
bool streamable,
});