magickQueryConfigureOption function

String? magickQueryConfigureOption(
  1. String option
)

Returns the value associated with the specified configure option, or null in case of no match.

Implementation

String? magickQueryConfigureOption(String option) => using((Arena arena) {
      final Pointer<Char> optionPtr =
          option.toNativeUtf8(allocator: arena).cast();
      final Pointer<Char> resultPtr =
          _magickWandBindings.MagickQueryConfigureOption(optionPtr);
      final String? result = resultPtr.toNullableString();
      _magickRelinquishMemory(resultPtr.cast());
      return result;
    });