attributesAtIndex method

NSDictionary attributesAtIndex(
  1. int location, {
  2. required Pointer<NSRange> effectiveRange,
})

attributesAtIndex:effectiveRange:

Implementation

NSDictionary attributesAtIndex(
  int location, {
  required ffi.Pointer<NSRange> effectiveRange,
}) {
  objc.checkOsVersionInternal(
    'NSAttributedString.attributesAtIndex:effectiveRange:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  final $ret = _objc_msgSend_1776v9k(
    object$.ref.pointer,
    _sel_attributesAtIndex_effectiveRange_,
    location,
    effectiveRange,
  );
  return NSDictionary.fromPointer($ret, retain: true, release: true);
}