magickGetImageArtifact method
Returns a value associated with the specified artifact.
Implementation
String? magickGetImageArtifact(String artifact) => using((Arena arena) {
final Pointer<Char> artifactPtr =
artifact.toNativeUtf8(allocator: arena).cast();
final Pointer<Char> resultPtr =
_magickWandBindings.MagickGetImageArtifact(_wandPtr, artifactPtr);
final String? result = resultPtr.toNullableString();
_magickRelinquishMemory(resultPtr.cast());
return result;
});