fetchFile function

Future<Uint8List> fetchFile(
  1. String url
)

Helper method to fetch the media

Implementation

Future<Uint8List> fetchFile(String url) {
  return promiseToFuture(_fetchFile(url));
}