clear method
void
clear()
Releases native resources stored by the ref. If two different ImageRef objects have the same uniqueId both of them become cleared.
Implementation
void clear() {
using((Arena arena) {
Pointer<Utf8> pUUID = uniqueId!.toNativeUtf8(allocator: arena);
_nativeClear(pUUID);
});
release();
}