castFromPointer static method
ObjCBlock<NSURL? Function(Pointer<Void> , NSTextView, NSTextAttachment, UnsignedLong)>
castFromPointer(})
Returns a block that wraps the given raw block pointer.
Implementation
static objc.ObjCBlock<
objc.NSURL? Function(
ffi.Pointer<ffi.Void>,
NSTextView,
NSTextAttachment,
ffi.UnsignedLong,
)
>
castFromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) =>
objc.ObjCBlock<
objc.NSURL? Function(
ffi.Pointer<ffi.Void>,
NSTextView,
NSTextAttachment,
ffi.UnsignedLong,
)
>(pointer, retain: retain, release: release);