magickGetOption method
Returns a value associated with a wand and the specified key.
Implementation
String? magickGetOption(String key) => using((Arena arena) {
final Pointer<Char> keyPtr = key.toNativeUtf8(allocator: arena).cast();
final Pointer<Char> resultPtr =
_magickWandBindings.MagickGetOption(_wandPtr, keyPtr);
final String? result = resultPtr.toNullableString();
_magickRelinquishMemory(resultPtr.cast());
return result;
});