download static method

Future<String> download(
  1. String mediaId
)

Download to local storage. Checks cache first.

Implementation

static Future<String> download(String mediaId) async {
  _ensure();
  return _provider!.downloadMedia(mediaId);
}