precache method

  1. @override
Future<void> precache(
  1. String url, {
  2. int? bytes,
})
override

Fetches url into the cache before anything plays it: the first bytes of it, or all of it when bytes is null. Completes when the bytes are on disk; throws HttpException when the origin refuses.

Implementation

@override
Future<void> precache(String url, {int? bytes}) async => _unsupported();