attributedSubstringFromRange_ property

ObjCProtocolMethod<NSAttributedString Function(NSRange range)> attributedSubstringFromRange_
final

attributedSubstringFromRange:

Implementation

static final attributedSubstringFromRange_ =
    objc.ObjCProtocolMethod<NSAttributedString Function(NSRange)>(
      _protocol_NSTextInput,
      _sel_attributedSubstringFromRange_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSRange,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_xzy3cf)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextInput,
        _sel_attributedSubstringFromRange_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (NSAttributedString Function(NSRange) func) =>
          ObjCBlock_NSAttributedString_ffiVoid_NSRange$1.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSRange arg1) => func(arg1),
          ),
    );