replaceCharactersInRange_withAnnotatedString_ property

ObjCProtocolListenableMethod<void Function(NSRange, NSAttributedString)> replaceCharactersInRange_withAnnotatedString_
final

replaceCharactersInRange:withAnnotatedString:

Implementation

static final replaceCharactersInRange_withAnnotatedString_ =
    objc.ObjCProtocolListenableMethod<
      void Function(NSRange, NSAttributedString)
    >(
      _protocol_NSTextCheckingClient,
      _sel_replaceCharactersInRange_withAnnotatedString_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSRange,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1f6txb5)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextCheckingClient,
        _sel_replaceCharactersInRange_withAnnotatedString_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (void Function(NSRange, NSAttributedString) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSRange_NSAttributedString.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSRange arg1,
              NSAttributedString arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(NSRange, NSAttributedString) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSRange_NSAttributedString.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSRange arg1,
              NSAttributedString arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(NSRange, NSAttributedString) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSRange_NSAttributedString.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSRange arg1,
              NSAttributedString arg2,
            ) => func(arg1, arg2),
          ),
    );