offsetFromLocation_toLocation_ property
ObjCProtocolMethod<DartNSInteger Function(NSTextLocation, NSTextLocation)>
offsetFromLocation_toLocation_
final
offsetFromLocation:toLocation:
Implementation
static final offsetFromLocation_toLocation_ =
objc.ObjCProtocolMethod<
DartNSInteger Function(NSTextLocation, NSTextLocation)
>(
_protocol_NSTextSelectionDataSource,
_sel_offsetFromLocation_toLocation_,
ffi.Native.addressOf<
ffi.NativeFunction<
NSInteger Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
)
>
>(_NativeBindingBindings_protocolTrampoline_evw03x)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSTextSelectionDataSource,
_sel_offsetFromLocation_toLocation_,
isRequired: true,
isInstanceMethod: true,
),
(DartNSInteger Function(NSTextLocation, NSTextLocation) func) =>
ObjCBlock_NSInteger_ffiVoid_idNSTextLocation_idNSTextLocation.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSTextLocation arg1,
NSTextLocation arg2,
) => func(arg1, arg2),
),
);