textRangeForSelectionGranularity_enclosingLocation_ property
ObjCProtocolMethod<NSTextRange? Function(NSTextSelectionGranularity, NSTextLocation)>
textRangeForSelectionGranularity_enclosingLocation_
final
textRangeForSelectionGranularity:enclosingLocation:
Implementation
static final textRangeForSelectionGranularity_enclosingLocation_ =
objc.ObjCProtocolMethod<
NSTextRange? Function(NSTextSelectionGranularity, NSTextLocation)
>(
_protocol_NSTextSelectionDataSource,
_sel_textRangeForSelectionGranularity_enclosingLocation_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Pointer<objc.ObjCObject> Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
NSInteger,
ffi.Pointer<objc.ObjCObject>,
)
>
>(_NativeBindingBindings_protocolTrampoline_1msw0hl)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSTextSelectionDataSource,
_sel_textRangeForSelectionGranularity_enclosingLocation_,
isRequired: true,
isInstanceMethod: true,
),
(
NSTextRange? Function(NSTextSelectionGranularity, NSTextLocation)
func,
) =>
ObjCBlock_NSTextRange_ffiVoid_NSTextSelectionGranularity_idNSTextLocation.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSTextSelectionGranularity arg1,
NSTextLocation arg2,
) => func(arg1, arg2),
),
);