clearCache static method
(undocumented) This static function clears the cache of loaded images, or removes the cached image for a particular URL.
When an image is loaded by GoJS when specifying a Picture.source URL, GoJS creates an Image element using that source and caches it. That way, when many Picture elements refer to the same source, they can refer to the same single object in memory.
Implementation
static void clearCache([_i2.String? url]) {
_i4.callMethod(
_declaredPicture,
'clearCache',
[url ?? _i5.undefined],
);
}