attributesAtIndex method

NSDictionary attributesAtIndex(
  1. DartNSUInteger location, {
  2. required NSRangePointer longestEffectiveRange,
  3. required NSRange inRange,
})

attributesAtIndex:longestEffectiveRange:inRange:

Implementation

objc.NSDictionary attributesAtIndex(
  DartNSUInteger location, {
  required NSRangePointer longestEffectiveRange,
  required NSRange inRange,
}) {
  objc.checkOsVersionInternal(
    'NSAttributedString.attributesAtIndex:longestEffectiveRange:inRange:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_1pp2gs8(
    this.ref.pointer,
    _sel_attributesAtIndex_longestEffectiveRange_inRange_,
    location,
    longestEffectiveRange,
    inRange,
  );
  return objc.NSDictionary.castFromPointer(_ret, retain: true, release: true);
}