rangeForUserCharacterAttributeChange property

NSRange get rangeForUserCharacterAttributeChange

rangeForUserCharacterAttributeChange

Implementation

NSRange get rangeForUserCharacterAttributeChange {
  objc.checkOsVersionInternal(
    'NSTextView.rangeForUserCharacterAttributeChange',
    iOS: (true, null),
  );
  final _ptr = pkg_ffi.calloc<NSRange>();
  objc.useMsgSendVariants
      ? _objc_msgSend_1u11dbbStret(
          _ptr,
          this.ref.pointer,
          _sel_rangeForUserCharacterAttributeChange,
        )
      : _ptr.ref = _objc_msgSend_1u11dbb(
          this.ref.pointer,
          _sel_rangeForUserCharacterAttributeChange,
        );
  final _finalizable = _ptr.cast<ffi.Uint8>().asTypedList(
    ffi.sizeOf<NSRange>(),
    finalizer: pkg_ffi.calloc.nativeFree,
  );
  return ffi.Struct.create<NSRange>(_finalizable);
}