characterIndexForPoint_ property

ObjCProtocolMethod<DartNSInteger Function(NSPoint point)> characterIndexForPoint_
final

characterIndexForPoint:

Implementation

static final characterIndexForPoint_ =
    objc.ObjCProtocolMethod<DartNSUInteger Function(NSPoint)>(
      _protocol_NSTextCheckingClient,
      _sel_characterIndexForPoint_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSPoint,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_r5c0tn)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextCheckingClient,
        _sel_characterIndexForPoint_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (DartNSUInteger Function(NSPoint) func) =>
          ObjCBlock_NSUInteger_ffiVoid_NSPoint.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSPoint arg1) => func(arg1),
          ),
    );