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