locationFromLocation_withOffset_ property

ObjCProtocolMethod<NSTextLocation? Function(NSTextLocation, DartNSInteger)> locationFromLocation_withOffset_
final

locationFromLocation:withOffset:

Implementation

static final locationFromLocation_withOffset_ =
    objc.ObjCProtocolMethod<
      NSTextLocation? Function(NSTextLocation, DartNSInteger)
    >(
      _protocol_NSTextElementProvider,
      _sel_locationFromLocation_withOffset_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1xvw1tx)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextElementProvider,
        _sel_locationFromLocation_withOffset_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (NSTextLocation? Function(NSTextLocation, DartNSInteger) func) =>
          ObjCBlock_idNSTextLocation_ffiVoid_idNSTextLocation_NSInteger.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextLocation arg1,
              DartNSInteger arg2,
            ) => func(arg1, arg2),
          ),
    );