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