castFromPointer static method
ObjCBlock<Double Function(Pointer<Void> , NSCollectionView, NSCollectionViewLayout, Long)>
castFromPointer(})
Returns a block that wraps the given raw block pointer.
Implementation
static objc.ObjCBlock<
ffi.Double Function(
ffi.Pointer<ffi.Void>,
NSCollectionView,
NSCollectionViewLayout,
ffi.Long,
)
>
castFromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) =>
objc.ObjCBlock<
ffi.Double Function(
ffi.Pointer<ffi.Void>,
NSCollectionView,
NSCollectionViewLayout,
ffi.Long,
)
>(pointer, retain: retain, release: release);