magickGetImageProperty method

String? magickGetImageProperty(
  1. String property
)

Returns a value associated with the specified property.

Implementation

String? magickGetImageProperty(String property) => using((Arena arena) {
      final Pointer<Char> propertyPtr =
          property.toNativeUtf8(allocator: arena).cast();
      final Pointer<Char> resultPtr =
          _magickWandBindings.MagickGetImageProperty(_wandPtr, propertyPtr);
      final String? result = resultPtr.toNullableString();
      _magickRelinquishMemory(resultPtr.cast());
      return result;
    });