clear method
void
clear()
Clears all assets and revoke all ObjectURL.
Implementation
void clear() {
for (var id in List.from(_assets.keys)) {
remove(id);
}
_assets.clear();
}
Clears all assets and revoke all ObjectURL.
void clear() {
for (var id in List.from(_assets.keys)) {
remove(id);
}
_assets.clear();
}