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