Where players get remote media from.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< void> - Deletes everything not being read right now.
-
close(
) → Future< void> - Stops the loopback server. Addresses it handed out stop working.
-
contains(
String url, {int? bytes}) → Future< bool> -
Whether the first
bytesofurl-- all of it, when null -- are on disk. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
playbackAddress(
String url) → Future< String> -
What a player should open for
url: a loopback address that streams it through the cache, orurlitself for anything that is nothttp:orhttps:. -
precache(
String url, {int? bytes}) → Future< void> -
Fetches
urlinto the cache before anything plays it: the firstbytesof it, or all of it whenbytesis null. Completes when the bytes are on disk; throwsHttpExceptionwhen the origin refuses. -
size(
) → Future< int> - Bytes on disk.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited