hibernate method
Compresses ImageRef and stores it either on disk or in memory according to global settings.
Implementation
bool hibernate() {
if (uniqueId == null) {
throw InvalidImageRefException(_releasedImageRefExceptionMessage);
}
return using((Arena arena) {
Pointer<Utf8> pUUID = uniqueId!.toNativeUtf8(allocator: arena);
return _nativeHibernate(pUUID);
});
}