attributedSubstringForProposedRange_actualRange_ property

ObjCProtocolMethod<NSAttributedString? Function(NSRange, NSRangePointer)> attributedSubstringForProposedRange_actualRange_
final

attributedSubstringForProposedRange:actualRange:

Implementation

static final attributedSubstringForProposedRange_actualRange_ =
    objc.ObjCProtocolMethod<
      NSAttributedString? Function(NSRange, NSRangePointer)
    >(
      _protocol_NSTextCheckingClient,
      _sel_attributedSubstringForProposedRange_actualRange_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSRange,
                NSRangePointer,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_17bmapz)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextCheckingClient,
        _sel_attributedSubstringForProposedRange_actualRange_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (NSAttributedString? Function(NSRange, NSRangePointer) func) =>
          ObjCBlock_NSAttributedString_ffiVoid_NSRange_NSRangePointer.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSRange arg1, NSRangePointer arg2) =>
                func(arg1, arg2),
          ),
    );